Linked source PircBot.
This commit is contained in:
parent
93df86b2b2
commit
030398dde7
@ -27,7 +27,7 @@
|
||||
<classpathentry kind="lib" path="lib/httpcore-4.4.1.jar"/>
|
||||
<classpathentry kind="lib" path="lib/jaxb-api-2.2.12.jar"/>
|
||||
<classpathentry kind="lib" path="lib/joda-time-2.8.1.jar"/>
|
||||
<classpathentry kind="lib" path="lib/pircbot-1.5.0.jar"/>
|
||||
<classpathentry kind="lib" path="lib/pircbot-1.5.0.jar" sourcepath="lib/pircbot-1.5.0-sources.zip"/>
|
||||
<classpathentry kind="lib" path="lib/scribe-1.3.7.jar"/>
|
||||
<classpathentry kind="lib" path="lib/quartz-2.2.3.jar" sourcepath="lib/quartz-2.2.3-source.zip"/>
|
||||
<classpathentry kind="lib" path="lib/devinsy-strings-0.4.4.jar" sourcepath="lib/devinsy-strings-0.4.4-sources.zip"/>
|
||||
|
@ -126,6 +126,21 @@ public class HebdobotCLI
|
||||
|
||||
if (configFile.exists())
|
||||
{
|
||||
/*
|
||||
//
|
||||
File loggerConfigFile = new File(configFile, "log4j.properties");
|
||||
if (loggerConfigFile.exists())
|
||||
{
|
||||
PropertyConfigurator.configure(loggerConfigFile.getAbsolutePath());
|
||||
logger.info("Dedicated log configuration done.");
|
||||
logger.info("Configuration file was found in [{}].", loggerConfigFile.getAbsoluteFile());
|
||||
}
|
||||
else
|
||||
{
|
||||
BasicConfigurator.configure();
|
||||
logger.info("Basic log configuration done.");
|
||||
logger.info("Configuration file was not found in [{}].", loggerConfigFile.getAbsoluteFile());
|
||||
}*/
|
||||
|
||||
// Load configuration file.
|
||||
logger.info("Config file loading… ({}).", configFile.getAbsolutePath());
|
||||
|
Loading…
Reference in New Issue
Block a user