I am not sure but there is one setting in modx manager->system settings and search for "log", there you will find "Logging Level" set to "1". Change this setting and make it "0" so only fatal errors will be logged in.
Thanks for the tip. this has surely stopped the log from swelling.
Glad it worked, Please mark as answered.