mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
59 lines
1.5 KiB
Plaintext
59 lines
1.5 KiB
Plaintext
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
this work for additional information regarding copyright ownership.
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
(the "License"); you may not use this file except in compliance with
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
|
|
|
|
|
|
To: ceki@apache.org
|
|
Subject: TempFileAppender
|
|
|
|
|
|
Hi Ceki,
|
|
|
|
|
|
I have created one small Appender, which puts each
|
|
logging statement into separate file. We use it
|
|
for storing incomming messages into second process'es
|
|
spool directory. If you like it, please include it
|
|
into Log4j with APL license.
|
|
|
|
|
|
Usage:
|
|
|
|
|
|
log4j.appender.A1=org.apache.log4j.TempFileAppender
|
|
log4j.appender.A1.Path=spool_dir
|
|
log4j.appender.A1.Prefix=out_
|
|
log4j.appender.A1.Suffix=.msg
|
|
|
|
|
|
Leo
|
|
|
|
-----------------------------------------------------
|
|
Leos Literak
|
|
Software Engineer
|
|
|
|
|
|
12snap s.r.o.
|
|
Pstrossova 24
|
|
110 00 Praha 1
|
|
Czech Republic
|
|
|
|
|
|
mobile: ?605-849-087
|
|
phone: ?2-21-970-239
|
|
fax: ?2-21-970-241
|
|
e-mail: leos.literak@12snap.com
|
|
|