Featured post

Fixed Income Trading: New venues ( How many Fixed Income trading venues are there? )

How many Fixed Income trading venues are there?  [152]  A simple question came up recently in a conversation – how many new Fixed Income t...

Sunday, 1 May 2016

Starting MongoDB with Powershell and a UTC timestamp dated log file

When starting MongoDB using PowerShell you may want to create a log file at start up.  One technique that is useful is to have the log file use UTC time as the file name such as:
Why? So there is no problem with daylight savings time or people in different locations supporting applications being unsure of the correct start/stop times for a process. 
Anyway, it's a very small piece of code and it's on GitHub.  If you see anything wrong, feel free to do what you need..

No comments:

Post a comment