incubator-drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steven Phillips <sphill...@maprtech.com>
Subject Re: Setting a log file
Date Tue, 18 Nov 2014 22:35:51 GMT
It is currently not possible to set the log output as session option. It
must be set at the time the drillbit starts up.

On Tue, Nov 18, 2014 at 2:32 PM, Xiao Meng <xiaom@cs.sfu.ca> wrote:

> You can set the DRILL_LOG_DIR environment variable when starting a
> drillbit.
> Check comments about environment variable in `bin/drillbit.sh`.
>
> On Tue Nov 18 2014 at 2:27:08 PM Christopher Matta <cmatta@mapr.com>
> wrote:
>
> > I noticed that there’s a log.path in the sys.options but I’m assuming
> > that’s a boot option for the drillbits?
> >
> >
> > 0: jdbc:drill:zk=ip-172-16-1-173:5181,ip-172-> select * from
> > sys.options where name = 'log.path';
> > +------------+------------+------------+------------+-------
> > -----+------------+------------+
> > |    name    |    kind    |    type    |  num_val   | string_val |
> > bool_val  | float_val  |
> > +------------+------------+------------+------------+-------
> > -----+------------+------------+
> > | log.path   | null       | BOOT       | null       |
> > "/opt/mapr/drill/drill-0.6.0/logs/drillbit.log" | null       | null
> >    |
> > +------------+------------+------------+------------+-------
> > -----+------------+------------+
> > 1 row selected (0.167 seconds)
> > 0: jdbc:drill:zk=ip-172-16-1-173:5181,ip-172->
> >
> > Is there any way to set the log output per session?
> > ​
> >
> > Chris Matta
> > cmatta@mapr.com
> > 215-701-3146
> >
> > On Tue, Nov 18, 2014 at 2:12 PM, Christopher Matta <cmatta@mapr.com>
> > wrote:
> >
> > > Is there a method for setting a specific log file location for a
> session?
> > >
> > > Chris Matta
> > > cmatta@mapr.com
> > > 215-701-3146
> > >
> >
>



-- 
 Steven Phillips
 Software Engineer

 mapr.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message