Page 1 of 1

[REQ] UserName and ComputerName i File operation Logfile

Posted: 2007-01-19, 23:17 UTC
by petergus
The File operation log file store date and time for file operations.
But if I use TC over a network and run it on multiple machines and under differens usernames, it would be nice to log that information too.

Make it optional for non-network users.

Posted: 2007-01-19, 23:55 UTC
by SanskritFritz
2petergus
You could write that info with a batch file or script on TC start into the logfile.

Posted: 2007-01-19, 23:56 UTC
by m^2
Support++
ADDED:
While I wrote this there was no SanskritFritz's post.
For me it's enough, Support-- ;)

Posted: 2007-01-20, 00:28 UTC
by petergus
SanskritFritz wrote:2petergus
You could write that info with a batch file or script on TC start into the logfile.
yes, but it doesn't look very nice if a command prompt pops up.
Much nicer if TC write it to log on TC start.

Posted: 2007-01-20, 00:35 UTC
by SanskritFritz
Of course. :? But also you could do something like this:
http://ghisler.ch/board/viewtopic.php?p=102643#102643

Posted: 2007-01-20, 01:03 UTC
by m^2
petergus wrote:
SanskritFritz wrote:2petergus
You could write that info with a batch file or script on TC start into the logfile.
yes, but it doesn't look very nice if a command prompt pops up.
Much nicer if TC write it to log on TC start.
You can use this.

Posted: 2007-01-20, 13:56 UTC
by petergus
This information can be added to this string:

2007-01-20 14:54:43: Program start

Like this

2007-01-20 14:54:43: Program start (COMPUTERNAME\USERNAME)

Posted: 2007-01-22, 21:47 UTC
by ghisler(Author)
Good idea, I will try to add it - should be quite easy.

Posted: 2007-01-23, 00:42 UTC
by petergus
ghisler(Author) wrote:Good idea, I will try to add it - should be quite easy.
Thank you! :)