cancel
Showing results for 
Search instead for 
Did you mean: 

ICM Log Analysis using SMD

Former Member
0 Kudos

Hi,

Couple of questions

1. My current ICM Log file parameter is as below

icm/HTTP/logging_0 = PREFIX=/, LOGFILE=icmhttp.log, LOGFORMAT=SAPSMD, MAXSIZEKB=10240, SWITCHTF=day, FILEWRAP=on

This always creates one file i.e. the file is over written everyday. How can i have a new file for each day preserving the previous days file. Will the below parameter take care of it

icm/HTTP/logging_0 = PREFIX=/, LOGFILE=icmhttp_%d_%m_%y.log, LOGFORMAT=SAPSMD, MAXSIZEKB=10240, SWITCHTF=day, FILEWRAP=on

2. How can I analyze the ICM logfile created above using SMD?

Thanks

Makarand

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Makarand,

You need to use option FILEWRAP for creating new log files

If FILEWRAP=on is active, every time a new file is opened, the existing log file is reset and overwritten. Therefore, there is always only one log file with the current log data.

If you omit this option, once the size has been exceeded a new file is written

See link below for more details.

http://help.sap.com/saphelp_nw04s/helpdata/en/73/b5f99d019f11d5991400508b6b8b11/frameset.htm

Hope this will help you.

Regards,

Shafi