drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Xiao Meng <xi...@cs.sfu.ca>
Subject Re: Setting a log file
Date Tue, 18 Nov 2014 22:32:00 GMT
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
> >
>

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