service.log purging

Welcome to BestSync Support Forum!
If you have any questions, comments, concerns, suggestion, please summit here, we'll try to reply you in short time.
Thank you!
Post Reply
gracelim
Posts: 68
Joined: Fri Mar 17, 2017 4:18 am

service.log purging

Post by gracelim »

hi,

i notice the service.log is being purge periodically. is there a way for it keep the logs longer?

bestsync is installed on a 24x7 server . when i try to check the server.log next day around 8am, i only see logs from 1:48am up to present for the day. how can i check previous day ?
RiseFly
Site Admin
Posts: 1111
Joined: Tue Nov 03, 2009 2:51 pm

Re: service.log purging

Post by RiseFly »

You can set the "Maximum preserving days of the log data in the "Log" tab of the task.
gracelim
Posts: 68
Joined: Fri Mar 17, 2017 4:18 am

Re: service.log purging

Post by gracelim »

i check the log tab of the task, it is set to 60 which means 60 days and this is the default as we do not edit this tab.
preserve log refers to serivce.log or task log (view log)?

isnt service.log the global log where all tasks writes to it.
gracelim
Posts: 68
Joined: Fri Mar 17, 2017 4:18 am

Re: service.log purging

Post by gracelim »

all of our tasks have 60 as its value for the preserve log. 90% of the tasks are set to real sync
RiseFly
Site Admin
Posts: 1111
Joined: Tue Nov 03, 2009 2:51 pm

Re: service.log purging

Post by RiseFly »

I'm sorry that I have given you the wrong information.
Service.log is limited by maximum size of 1 MB, all the old log contents will be purged automatically when the size is over 1 MB.
There is not a setting to adjust the file size.
gracelim
Posts: 68
Joined: Fri Mar 17, 2017 4:18 am

Re: service.log purging

Post by gracelim »

what workaround could i do to resolve this?
RiseFly
Site Admin
Posts: 1111
Joined: Tue Nov 03, 2009 2:51 pm

Re: service.log purging

Post by RiseFly »

Sorry, there is no work around.
Service.log is designed only for logging starting or ending of tasks, for the detailed log of each task, please access the log of tasks.
Satyampol
Posts: 1
Joined: Tue Jul 14, 2020 10:29 am
Contact:

Re: service.log purging

Post by Satyampol »

Valuable share...Many thanks!
Post Reply