We are now using Winston to do logging to a file and the console. However, the file logging is sometimes incomplete...
Looking at the stdout log in /var/log/upstart/ticktocklogger.log, we can see an error is thrown and we see the message with it, that the GPS timestamping is out of sync because a packet was dropped. (See issue #14 )
However, in the file ticktock.log, running grep GPS ticktock.log returns nothing. Neither the winston.error log or the actual stack trace of the error. This makes it hard to detect errors using the winston log, which we are trying to transition to.
We are now using Winston to do logging to a file and the console. However, the file logging is sometimes incomplete...
Looking at the stdout log in /var/log/upstart/ticktocklogger.log, we can see an error is thrown and we see the message with it, that the GPS timestamping is out of sync because a packet was dropped. (See issue #14 )
However, in the file ticktock.log, running grep GPS ticktock.log returns nothing. Neither the winston.error log or the actual stack trace of the error. This makes it hard to detect errors using the winston log, which we are trying to transition to.