Skip to content

Commit

Permalink
[CBRD-24718] Access log file format error for shard (#4215)
Browse files Browse the repository at this point in the history
http://jira.cubrid.org/browse/CBRD-24718

Change the index of the shard access log file to start from 1
  • Loading branch information
airnet73 authored Mar 31, 2023
1 parent 13321fb commit 329f368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/broker/broker_admin_pub.c
Original file line number Diff line number Diff line change
Expand Up @@ -3498,7 +3498,7 @@ proxy_activate (T_BROKER_INFO * br_info_p, T_SHM_PROXY * shm_proxy_p, T_SHM_APPL
proxy_info_p = shard_shm_find_proxy_info (shm_proxy_p, i);

snprintf (proxy_info_p->access_log_file, CONF_LOG_FILE_LEN - 1, "%s/%s_%d.access", CUBRID_BASE_DIR,
br_info_p->name, i);
br_info_p->name, (i + 1));
dir_repath (proxy_info_p->access_log_file, CONF_LOG_FILE_LEN);

proxy_info_p->cur_proxy_log_mode = br_info_p->proxy_log_mode;
Expand Down

0 comments on commit 329f368

Please sign in to comment.