drill-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: Lilith -- not logging
Date Mon, 02 Sep 2013 21:34:17 GMT
Harri,

I just pushed this change to sqlline.




On Mon, Sep 2, 2013 at 2:31 PM, Ted Dunning <ted.dunning@gmail.com> wrote:

>
> I think that there is a fix missing from sqlline.  I am using this diff:
>
> diff --git a/sandbox/prototype/sqlline b/sandbox/prototype/sqlline
> index 0177e4f..60b38fb 100755
> --- a/sandbox/prototype/sqlline
> +++ b/sandbox/prototype/sqlline
> @@ -11,7 +11,7 @@ if [ ! -f .classpath ]; then
>  fi
>
>  #exec java -Drebel.log=true -javaagent:/src/jrebel/jrebel.jar
> -Dlogback.configurationFile=/src/drill/sandbox/prototype/sqlparser/src/test/res
> -exec java
> -Dlogback.configurationFile=/src/drill/sandbox/prototype/sqlparser/src/test/resources/logback.xml
> -cp ./:"$(cat .classpath)" sqllin
> +exec java -Xmx2G
> -Dlogback.configurationFile=./sqlparser/src/test/resources/logback.xml -cp
> ./:"$(cat .classpath)" sqlline.SqlLine --verbose=
>
>
>  # End sqlline
> diff --git a/sandbox/prototype/sqlparser/src/test/resources/logback.xml
> b/sandbox/prototype/sqlparser/src/test/resources/logback.xml
> index 0b3080a..ff9e2ca 100644
> --- a/sandbox/prototype/sqlparser/src/test/resources/logback.xml
> +++ b/sandbox/prototype/sqlparser/src/test/resources/logback.xml
> @@ -14,6 +14,7 @@
>      <encoder>
>        <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} -
> %msg%n</pattern>
>      </encoder>
> +    <level value="warn" />
>    </appender>
>
>    <logger name="org.apache.drill" additivity="false">
>
>
>
> On Mon, Sep 2, 2013 at 2:27 PM, Harri Kinnunen <Harri.Kinnunen@hitsaamo.fi
> > wrote:
>
>> Hi,
>>
>> not seeing any log entries in Lilith.
>>
>> Lilith is logging itself (herself?), and I assume it happens thru Logback.
>>
>> Am I missing something obvious in build phase or is just supposed to work
>> when I fire uo sqlline?
>>
>> Cheers,
>> -Harri
>>
>> Ps. OSX 10.8
>>
>>
>>
>

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