NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on December 09, 2013, 05:42:05 AM

Title: NT6 as a service and its log
Post by: Alberto on December 09, 2013, 05:42:05 AM
Hi,
I´m running a NT6 server as a service.
How can I see the log?
Thanks
Title: Re: NT6 as a service and its log
Post by: Bruce on December 09, 2013, 09:43:54 PM
Stop the service, and run it as an exe.
or turn on the "Log to Disk".

cheers
Bruce

Title: Re: NT6 as a service and its log
Post by: Alberto on December 10, 2013, 01:26:41 AM
Cant stop the service, if I do this I disconnect all the actual sessions.
If I turn on Log to Disk, how do I read the log while the server is running?
Name of the log file?
Can I open it while the server is running to read it?
How much it grows on disk? any automatic limit? do I need to shink or delete it?
I am thinking on making an exe that reads that log to follow the server activity.
Thanks
Regards
Title: Re: NT6 as a service and its log
Post by: Bruce on December 10, 2013, 09:53:51 AM
>> If I turn on Log to Disk, how do I read the log while the server is running?

As long as it's a multi-user file (like TPS or whatever) it's fine to read and write at the same time - just like any table.

>> Name of the log file?

In the log folder, based on the date

>> Can I open it while the server is running to read it?

yes

>> How much it grows on disk?

depends on the traffic - the more the traffic, the faster it grows.

>> any automatic limit?

no. But it does start a new disk file every day.

>>  do I need to shink or delete it?

presumably - depending on how much hard drive space you have. I would set a job to delete it once it was say 30 days old.

>> I am thinking on making an exe that reads that log to follow the server activity.

sure

cheers
Bruce