Tim Anderson Posted November 3, 2012 Posted November 3, 2012 Is there any way to stop, or restrict the log file. I have a plugin created with ScriptMaster with a that is called about every 2 secs, 24 hours a day. This is creating a huge log file, and I think possibly causing the routine to hang occasionally - the last noticeable time the log file was over 1Gb. Tricky to open in NotePad! If there was a command to set the log file to record only errors rather than routine calls it would be a great help. Or a way to start a new log file without restarting FileMaker as this is not an option. Thanks Tim
SCninja Posted November 21, 2012 Posted November 21, 2012 Hey Tim, There is actually a way to increase/reduce the logging level of the log files being created by the 360Works plug-ins. You will need to edit the logging.properties file by adding something similar to: com.prosc.beanshell.level = SEVERE (where com.prosc.beanshell is the Java package for ScriptMaster) at the bottom of the properties file. The above would limit the logged messages to the SEVERE level, which would reduce your log file by displaying only the errors that are marked as severe. The default location of the logging.properties file is located at: "lib/logging.properties", inside the JRE directory. I hope this helps. Signed,
Tim Anderson Posted November 26, 2012 Author Posted November 26, 2012 Thanks SCNinja, Will give that a try when I do a new build of the plugin. TIm
Recommended Posts
This topic is 4448 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now