NetTalk Central

Author Topic: NT6 as a service and its log  (Read 2437 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
NT6 as a service and its log
« 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT6 as a service and its log
« Reply #1 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


Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: NT6 as a service and its log
« Reply #2 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
« Last Edit: December 10, 2013, 01:30:39 AM by michelis »
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: NT6 as a service and its log
« Reply #3 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