Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
.logPrefix Settings
03-10-2020, 12:22
Post: #1
.logPrefix Settings
Hi there,

I have been wanting to create a log of files served by MinimServer for some time and this thread provided the answer: https://forum.minimserver.com/showthread.php?tid=5197

Just one question: are there any other options for .logPrefix apart from dateTime and milliTime, which I see in various posts?

The dateTime option does not supply the date for GET lines in the log. A full date here would be ideal. Instead, I have to rely on earlier 'MinimServer [...] is running' lines, which are prefixed with the date without the year. The year is hardly critical.

Thanks in advance!
Find all posts by this user
Quote this message in a reply
03-10-2020, 15:10
Post: #2
RE: .logPrefix Settings
All the .logPrefix special values are shown in this section.

As it says in the same section, the milliThread special value is used for all Debug and Trace messages. This is why you are not seeing the date on the GET lines.

The milliThread value is used for Debug and Trace messages because debugging often requires these messages to be timestamped with millisecond accuracy.
Find all posts by this user
Quote this message in a reply
03-10-2020, 15:40
Post: #3
RE: .logPrefix Settings
Thanks, Simon. Sorry I didn't check that part of the documentation to save you the trouble.
Find all posts by this user
Quote this message in a reply
03-10-2020, 16:17
Post: #4
RE: .logPrefix Settings
No problem. It was useful for me to refresh my memory of why GET messages aren't stamped with the date.

For future reference, all properties are listed on this page with links to the sections that describe the property settings. This is the simplest way to find out what settings are valid for any property.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)