Is there a way to suppress the logging of the Report-SQLs?
Answered
Every access to a report seems to write the SQL statement to the log file. This makes it grow quite fast in the production system. Actually information that you don't need for a working report, except in debug mode. Also, real error messages are easier to get lost.
I'm sure I can switch off the SQL logging configuratively. Unfortunately I can't find the right place.
Any help is welcome.
Hi Stefan,
These properties look to be normal. I have seen Smart Reporting clients with SQL queries being logged before with DEBUG off, and I've asked about it, but no one's been sure thus far. All I can really say is aside from I'm not sure where it's coming from is that it's definitely not a YF setting - these are being generated somewhere in either the AR driver or elsewhere in the Smart Reporting environment, and as such I'm afraid we can't really provide much assistance with us from our side. Sorry we can't be of more assistance here, but please let me know if you have any follow-up questions.
Regards,
Mike
Hi Stefan,
These properties look to be normal. I have seen Smart Reporting clients with SQL queries being logged before with DEBUG off, and I've asked about it, but no one's been sure thus far. All I can really say is aside from I'm not sure where it's coming from is that it's definitely not a YF setting - these are being generated somewhere in either the AR driver or elsewhere in the Smart Reporting environment, and as such I'm afraid we can't really provide much assistance with us from our side. Sorry we can't be of more assistance here, but please let me know if you have any follow-up questions.
Regards,
Mike
I forgot, we use Smart Reporting from BMC, which is a version slightly adapted by BMC. But I can't say for sure.
I forgot, we use Smart Reporting from BMC, which is a version slightly adapted by BMC. But I can't say for sure.
Hi Stefan,
Thanks for reaching out. Yellowfin by default does not log SQL queries in standard logging, only in DEBUG logs. These configurations should be set in the log4j.properties file, found in <YellowfinInstall>/appserver/webapps/ROOT/WEB-INF/ folder, but as there can be customizations applied to the Smart Reporting environment, if you can't find what you're looking for in this file (or even find access to the file itself), you may have to reach out to BMC Support for this. The lines you'd likely be changing would be within the first several lines:
Likely either altering the log4j.rootCategory parameters or commenting out line 5 with the DEBUG option so that it's no longer active (assuming it is enabled).
Either way, please let me know how goes.
Regards,
Mike
Hi Stefan,
Thanks for reaching out. Yellowfin by default does not log SQL queries in standard logging, only in DEBUG logs. These configurations should be set in the log4j.properties file, found in <YellowfinInstall>/appserver/webapps/ROOT/WEB-INF/ folder, but as there can be customizations applied to the Smart Reporting environment, if you can't find what you're looking for in this file (or even find access to the file itself), you may have to reach out to BMC Support for this. The lines you'd likely be changing would be within the first several lines:
Likely either altering the log4j.rootCategory parameters or commenting out line 5 with the DEBUG option so that it's no longer active (assuming it is enabled).
Either way, please let me know how goes.
Regards,
Mike
Replies have been locked on this page!