Add file logging using winston.

Do not make it public yet, we need to fix log rotation first.
Renamed to logRecord.