Search

GlobalSCAPE Knowledge Base

Can I turn on logging for specific event rules?

Karla Marsh
EFT

THE INFORMATION IN THIS ARTICLE APPLIES TO:

  • EFT v7 and later

QUESTION

Can I turn on logging for specific event rules?

ANSWER

Yes. As explained in the logging.cfg file, you can enable logging for a specific event rule:

# To turn on logging for a specific event rule, you can append the event
# rule name (spaces replaced with '_') after the site name. The logger name will have
# this format:
# log4cplus.logger.Events.[optional event sub logger].[site name].[event rule name]
# For example, to enable trace level logging for the folder monitor rule
# "My Folder Monitor" for the site "My Site" the logger entry would be:
# log4cplus.logger.Events.FolderMonitor.My_Site.My_Folder_Monitor=TRACE
#
# Notes: - Since logger names are case sensitive, the case of site and rule names used as
# loggers must match their use in EFT.
# - If site or event rule names contain spaces they must be replaced with
# underscores when used in the logger entry.
# - Not all event logging entries support site or event rule level logging.
#

Refer to the help topic "EFT.log File" in your version of EFT help for details of editing the logging.cfg file.

Details
Last Modified: 5 Years Ago
Last Modified By: kmarsh
Type: FAQ
Rated 1 star based on 9 votes.
Article has been viewed 4.5K times.
Options
Also In This Category