logging both to console and log file

2015-01-09 Thread mahendran m
Hi , Is it possible to use both logging to console with only message as ERROR and logging full information to log file . i have set threshold level to error sample log4j.properties file like below flume.root.logger=INFO,DEBUG,LOGFILEflume.log.dir=/logsflume.log.file=flume.log log4j.logger.org.a

RE: Detect agent started or not

2015-01-09 Thread Paul Chavez
You can use a Powershell command to check for running Java processes that have the flume application class in the commandline. Eg: Get-WmiObject win32_process -Filter "name like '%java.exe'" | Where-Object { $_.Commandline -match 'org.apache.flume.node.Application' } At my work we use a service