LOG.info(“text”) —> syslog
> On Mar 20, 2018, at 9:02 PM, chandan prakash <chandanbaran...@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 >