samza-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Roger Hoover <>
Subject How to configure log4j separately for the AM versus containers?
Date Tue, 23 Jun 2015 19:40:31 GMT

I want the App Master to log at INFO level and the container to log at
ERROR.  Is there a way to configure the AM to use a different log4j config

I'm trying to setting but ran couldn't get it to work with
system properties. -XX:+UseSerialGC

give bad substitution error.

This actually works it feels too ugly. -XX:+UseSerialGC -Dlog4j.configuration=file://$(pwd |
cut -d/ -f-9 | xargs -IXXX -n1 find XXX -name log4j-am.xml -print)

What's the right way to do it?



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