Cisco ASA – Configure Log Format

ciscocisco-asacisco-commandscisco-ioslogging

The logs from CISCO ASA fierwall is currently in the following format.

%ASA-message_class-severity-messageID

e.g.

   "%ASA-session-6-....."

I want to remove messsage class from logs

%ASA-severity-messageID

e.g.

   "%ASA-6-....."

I checked in internet and cicso configue help guide, then tried the commands

   no logging class session

But still coming the logs with message class. Please help me

   no logging emblem

Is this work?

Which is the actual command for that?

Thanks in advance.

Best Answer

Thanks for the comments and answers. I got the correct answer today. the first message is of emblem format and second one is default format.

We can go back to default format by using the following command

no logging emblem 

For more details look here