logging: initial implementation
added 'QUIT' to white list.