Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill, mail # user - Lilith -- not logging


Copy link to this message
-
Re: Lilith -- not logging
Ted Dunning 2013-09-02, 21:31
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
<[EMAIL PROTECTED]>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
>
>
>