mirror of https://github.com/apache/kafka.git
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:
parent
bd98a99c1e
commit
fe4818e094
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue