Whatever message this page gives is out now! Go check it out!
coldfusion.eventgateway.Logger getLogger([String logfile]) |
| Parameter | Description |
logfile | The name, without an extension, of a log file in the ColdFusion logs directory. ColdFusion automatically appends a .log extension to the name. If the file does not exist, ColdFusion creates it when it logs the first message. By default, ColdFusion logs to the eventgateway.log file. |
// We create our own log file, which will be named "watcher.log" logger = gatewayService.getLogger("watcher"); |
// Load the properties file to get our settings protected void loadconfig() throws ServiceRuntimeException { // load config logger.info("DirectoryWatcher (" + gatewayID + ") Initializing DirectoryWatcher gateway with configuration file " + config); . . . |