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!
gracelim
Posts: 37
Joined: Fri Mar 17, 2017 4:18 am

service.log purging

Postby gracelim » Wed Jan 22, 2020 12:22 am

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: 1011
Joined: Tue Nov 03, 2009 2:51 pm

Re: service.log purging

Postby RiseFly » Wed Jan 22, 2020 1:34 pm

You can set the "Maximum preserving days of the log data in the "Log" tab of the task.

gracelim
Posts: 37
Joined: Fri Mar 17, 2017 4:18 am

Re: service.log purging

Postby gracelim » Thu Jan 23, 2020 1:23 am

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: 37
Joined: Fri Mar 17, 2017 4:18 am

Re: service.log purging

Postby gracelim » Thu Jan 23, 2020 1:25 am

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: 1011
Joined: Tue Nov 03, 2009 2:51 pm

Re: service.log purging

Postby RiseFly » Thu Jan 23, 2020 10:08 am

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: 37
Joined: Fri Mar 17, 2017 4:18 am

Re: service.log purging

Postby gracelim » Thu Jan 23, 2020 10:28 am

what workaround could i do to resolve this?

RiseFly
Site Admin
Posts: 1011
Joined: Tue Nov 03, 2009 2:51 pm

Re: service.log purging

Postby RiseFly » Thu Jan 23, 2020 12:17 pm

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.


Return to “BestSync Support Forum”

Who is online

Users browsing this forum: No registered users and 7 guests

cron