Yeah~change the root logger should be good enough for me

On Fri, Oct 21, 2016 at 6:49 PM Anthony Corbacho <anthonycorba...@apache.org>
wrote:

> Hi david,
>
> Have you tried to use console in rootLogger in log4j configuration?
> It should look like a bit like this:
>
> log4j.rootLogger=DEBUG,console,file
> log4j.appender.console=org.apache.log4j.ConsoleAppender
> log4j.appender.file=org.apache.log4j.RollingFileAppender
>
>
> On Friday, 21 October 2016, Xi Shen <davidshe...@gmail.com> wrote:
>
> Hi,
>
> Currently, the default log4j logs almost everything to the log files. But
> I do not want to run Zeppelin as a service, and I want to print all the
> logs, including the interpreter logs to the console.
>
> Can I do that with log4j configuration? Which class should I use?
>
> --
>
>
> Thanks,
> David S.
>
> --


Thanks,
David S.

Reply via email to