added LoggingWithOldConsole sample