hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sultan Alamro <sultan.ala...@gmail.com>
Subject Re: Yarn mapreduce Logging : syslog vs stderr log files
Date Wed, 21 Mar 2018 01:16:35 GMT

LOG.info(“text”) —> syslog

> On Mar 20, 2018, at 9:02 PM, chandan prakash <chandanbaranwal@gmail.com> wrote:
> 
> Hi All,
> Currently my yarn MR job is writing logs to syslog and stderr. 
> I want to know :
>  how it is decided which log will go to syslog and which will go to stderr ?
> Can I redirect logs instead of going to stderr to syslog ?
>      If YES :  how?
>      If NO : Can we ensure log rolling for stderr as well like we do for syslog using
mapreduce.job.log4j-properties-file property ? 
> 
> Actually my most of logs are coming to stderr instead and I want to ensure log rolling
for the same while application is up.
> Any leads will be highly appreciable.
> Thanks in advance.
> 
> Regards,
> -- 
> Chandan Prakash
> 

Mime
View raw message