Changeset 33643

Show
Ignore:
Timestamp:
11.11.2019 11:46:48 (4 weeks ago)
Author:
ak19
Message:

Brought the template log4j.properties.in back up to speed. I forgot it existed and had committed the local log4j.properties and was solely modifying that.

Location:
other-projects/maori-lang-detection/conf
Files:
1 removed
1 modified
1 moved

Legend:

Unmodified
Added
Removed
  • other-projects/maori-lang-detection/conf/config.properties.in

    r33623 r33643  
    2929mongodb.port=27017 
    3030mongodb.host=mongodb.cms.waikato.ac.nz 
    31 mongodb.dbname=ateacrawldata 
     31#mongodb.dbname=ateacrawldata 
     32mongodb.dbname=anupama 
  • other-projects/maori-lang-detection/conf/log4j.properties.in

    r33400 r33643  
    99# define some reusable properties 
    1010maori-lang-detector.home=@maori-lang-detector.home@ 
    11 maori-lang-detector.logpath=${maori-lang-detector.home}/web/logs 
     11maori-lang-detector.logpath=${maori-lang-detector.home}/logs 
    1212 
    1313# Let's log everything from the most basic DEBUG msgs on (so INFO, WARN, ERROR too) 
    14 log4j.rootCategory=DEBUG, mldlog 
     14# Also want to log to the console, see 
     15# https://stackoverflow.com/questions/3382985/how-to-make-log4j-to-write-to-the-console-as-well 
    1516 
    16 # copied from GS3 
    17 log4j.category.web.servlets.DirectInput=INFO, mldlog 
    18 # Prevent logging duplicating its messages into rootLogger: 
    19 # https://stackoverflow.com/questions/9208710/java-log4j-log-to-both-category-and-root-logger 
    20 log4j.additivity.web.servlets.DirectInput=false 
     17log4j.rootCategory=DEBUG, console, mldlog 
     18 
     19# Define Console Appender 
     20log4j.appender.console=org.apache.log4j.ConsoleAppender 
     21# Define the layout for console appender. If you do not define it, you will get an error 
     22log4j.appender.console.layout=org.apache.log4j.PatternLayout 
     23log4j.appender.console.Target=System.err 
    2124 
    2225# We're saying our log "mldlog" is some file that gets appended to,