use less functions for logging
override message.LOG_FILE for web mode from web.main()