Better formatting of option key for log buffer