Skip to content

Commit

Permalink
增加启动日志
Browse files Browse the repository at this point in the history
  • Loading branch information
lingxiao committed Mar 7, 2024
1 parent 1ad4983 commit 7fc5664
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion bin/start.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
nohup ./vtgate --topo_implementation etcd2 --topo_global_server_address http://preglo151.etcd.jddb.com:4001 --topo_global_root /vt/global --log_dir /export/data/mysql/tmp --redact-debug-ui-queries --port 15009 --grpc_port 15999 --grpc_max_message_size 67108864 --mysql_server_port 3359 --service_map grpc-vtgateservice --cells_to_watch zyx151a --tablet_types_to_wait MASTER,REPLICA --mysql_auth_server_config_file /etc/config/acl/user2.json --cell zyx151a > /dev/null &
LOGS_DIR="/export/log/vtgate"

if [ ! -d $LOGS_DIR ]; then
mkdir -p $LOGS_DIR
fi

nohup ./vtgate --topo_implementation etcd2 --topo_global_server_address http://preglo151.etcd.jddb.com:4001 --topo_global_root /vt/global --log_dir /export/log/vtgate/tmp --redact-debug-ui-queries --port 15009 --grpc_port 15999 --grpc_max_message_size 67108864 --mysql_server_port 3359 --service_map grpc-vtgateservice --cells_to_watch zyx151a --tablet_types_to_wait MASTER,REPLICA --mysql_auth_server_config_file /etc/config/acl/user2.json --cell zyx151a > /export/log/vtgate/vtgate_console.log 2>&1 &

0 comments on commit 7fc5664

Please sign in to comment.