Hello,
I'd like to configure my java parser with an external config file
(i want to be able to change the format date of my parser without recompiling it).
Thank you.
Configure my parser with external properties
Moderator: admin
Re: Configure my parser with external properties
Hello,john wrote:Hello,
I'd like to configure my java parser with an external config file
(i want to be able to change the format date of my parser without recompiling it).
Thank you.
You can simply use the configuration file "parsers.properties" located in the "config" directory of your LogMX distribution.
This 'properties' file is empty in LogMX distribution, and is parsed by LogMX at start-up (see comments in this file for further details). Properties contained in this file are available for Parsers using System.getProperty().