Is there any setting in the syslog.conf that I can define a string to disable certain type of message that is generated in the message file
for example I want to stop these type of messages getting generated.
UnablAug 18 07:06:30 local1:warn|warning KCML: WARNING /usr/local/kcml/kcml
417896]: Unable to load cache file $HOME/GB/pictures/Blank.ico for control CRM_Ge to load cache file SR/pictures/Builder.bmp for control
This is - to my knowledge - not possible. You could only filter out messages based on severity levels, not on text content. How about filtering the logs after they are generated, with a simple "grep -v"?
It might be worth a try to explore syslog-ng, which should be possible to install on AIX (not tested). It might offer the functionality you are searching for.