KAFKA-2633; Default logging from tools to Stderr

Author: Grant Henke <granthenke@gmail.com>

Reviewers: Gwen Shapira

Closes #296 from granthenke/tools-log4j
This commit is contained in:
Grant Henke 2015-10-12 10:00:05 -07:00 committed by Gwen Shapira
parent bd98a99c1e
commit fe4818e094
1 changed files with 5 additions and 4 deletions

View File

@ -13,8 +13,9 @@
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
log4j.rootLogger=WARN, stdout log4j.rootLogger=WARN, stderr
log4j.appender.stdout=org.apache.log4j.ConsoleAppender log4j.appender.stderr=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout log4j.appender.stderr.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=[%d] %p %m (%c)%n log4j.appender.stderr.layout.ConversionPattern=[%d] %p %m (%c)%n
log4j.appender.stderr.Target=System.err