added a default option to show classname in log record