carnold | 4 May 2007 05:56
Picon
Favicon

svn commit: r535076 - in /logging/site/trunk: ./ src/site/ src/site/resources/images/ src/site/xdoc/

Author: carnold
Date: Thu May  3 20:56:55 2007
New Revision: 535076

URL: http://svn.apache.org/viewvc?view=rev&rev=535076
Log:
Mavenized Logging Services Content

Added:
    logging/site/trunk/pom.xml
      - copied, changed from r534995, logging/sandbox/log4j/component/pom.xml
    logging/site/trunk/src/site/
      - copied from r534995, logging/sandbox/log4j/component/src/site/
    logging/site/trunk/src/site/xdoc/
    logging/site/trunk/src/site/xdoc/catalog.xml
      - copied, changed from r535064, logging/log4j/trunk/src/xdocs/download.xml
    logging/site/trunk/src/site/xdoc/charter.xml
    logging/site/trunk/src/site/xdoc/guidelines.xml
      - copied, changed from r534993, logging/site/trunk/src/xdocs/site/bylaws.xml
    logging/site/trunk/src/site/xdoc/index.xml
      - copied, changed from r535031, maven/site/trunk/src/site/xdoc/index.xml
    logging/site/trunk/src/site/xdoc/news.xml
      - copied, changed from r534993, logging/site/trunk/src/xdocs/site/news.xml
Removed:
    logging/site/trunk/src/site/resources/images/logo.jpg
Modified:
    logging/site/trunk/   (props changed)
    logging/site/trunk/src/site/site.xml

Propchange: logging/site/trunk/
(Continue reading)

carnold | 4 May 2007 23:38
Picon
Favicon

svn commit: r535387 - in /logging/site/trunk: ./ src/site/ src/site/apt/ src/site/apt/log4j/ src/site/apt/log4j/companions/ src/site/apt/sandbox/ src/site/xdoc/

Author: carnold
Date: Fri May  4 14:38:58 2007
New Revision: 535387

URL: http://svn.apache.org/viewvc?view=rev&rev=535387
Log:
Bug 37930: First pass at Maven site building

Added:
    logging/site/trunk/src/site/apt/
    logging/site/trunk/src/site/apt/log4j/
    logging/site/trunk/src/site/apt/log4j/companions/
    logging/site/trunk/src/site/apt/log4j/companions/index.apt
    logging/site/trunk/src/site/apt/log4j/index.apt
    logging/site/trunk/src/site/apt/sandbox/
    logging/site/trunk/src/site/apt/sandbox/index.apt
Modified:
    logging/site/trunk/pom.xml
    logging/site/trunk/src/site/site.xml
    logging/site/trunk/src/site/xdoc/catalog.xml
    logging/site/trunk/src/site/xdoc/charter.xml
    logging/site/trunk/src/site/xdoc/guidelines.xml
    logging/site/trunk/src/site/xdoc/index.xml
    logging/site/trunk/src/site/xdoc/news.xml

Modified: logging/site/trunk/pom.xml
URL: http://svn.apache.org/viewvc/logging/site/trunk/pom.xml?view=diff&rev=535387&r1=535386&r2=535387
==============================================================================
--- logging/site/trunk/pom.xml (original)
+++ logging/site/trunk/pom.xml Fri May  4 14:38:58 2007
(Continue reading)

venu madhav | 6 May 2007 14:52

example

Hi ,
              Can any body send me the example of webapp using log4j 
where the logging is done to file and not console.

--

-- 
Regards,

Venu madhav.Yelamanchili

Software Trainee

Miracle Software Systems

Email: vyelamanchili <at> miraclesoft.com

SIS Enterprises | 6 May 2007 19:26

RE: example


#set the level of the root logger to DEBUG (the lowest level) 
log4j.rootLogger = DEBUG, DAILY

#set the appender DAILY
log4j.appender.DAILY=org.apache.log4j.DailyRollingFileAppender
log4j.appender.DAILY.File=ipm_out.log
log4j.appender.DAILY.DatePattern='.'yyyy-MM-dd

log4j.appender.DAILY.layout=org.apache.log4j.PatternLayout
log4j.appender.DAILY.layout.conversionPattern=%d{yyyy-MM-dd -       
- HH:mm:ss,SSS},%c,%p - %m%n

-----Original Message-----
From: venu madhav [mailto:vyelamanchili <at> miraclesoft.com] 
Sent: Sunday, May 06, 2007 7:52 AM
To: general <at> logging.apache.org
Subject: example

Hi ,
              Can any body send me the example of webapp using log4j 
where the logging is done to file and not console.

--

-- 
Regards,

Venu madhav.Yelamanchili

Software Trainee

(Continue reading)

dougp23 | 8 May 2007 15:04
Picon

Exclude some events from the log


I run an email system called Scalix.  It uses LDAP for user info, and does
some sort of indexing and what not.  

Anyways, each night, Apache will have THOUSANDS of events that start with
either GET or POST followed by /sis/
These are perfectly normal events, and I don't want them logged.
Is there anyway to tell Apache not to log these events?  

--

-- 
View this message in context: http://www.nabble.com/Exclude-some-events-from-the-log-tf3709496.html#a10375422
Sent from the Apache Logging - General mailing list archive at Nabble.com.

Ceki Gulcu | 10 May 2007 20:48
Picon
Gravatar

Re: Exclude some events from the log

Hello,

Wrong mailing list. You might have better luck with the httpd users list:
users <at> httpd.apache.org.

For more information see the HTTPD project:

    http://httpd.apache.org/

Hope this helps,

dougp23 wrote:
> I run an email system called Scalix.  It uses LDAP for user info, and does
> some sort of indexing and what not.  
> 
> Anyways, each night, Apache will have THOUSANDS of events that start with
> either GET or POST followed by /sis/
> These are perfectly normal events, and I don't want them logged.
> Is there anyway to tell Apache not to log these events?  

--

-- 
Ceki Gülcü
Logback: The reliable, generic, fast and flexible logging framework for Java.
http://logback.qos.ch

Rony G. Flatscher (Apache | 14 May 2007 09:09
Picon
Favicon

Little update and additional infos on the ooRexx implementation ... (Re: 'log4r' - a new 'log4j' like framework about to be released ...

Hi Curt,

in the meantime I could present the framework to the Rexx community at this year's International symposium and there seems to be interest in it. Therefore I plan to publish it via  apache labs. One of the things to solve beforehand would be to the name, which at the moment is set to "log4r", which - as you pointed out - has been taken by the Ruby implementation. Therefore I have been contemplating to name it either "log4o" (short for: "log4ooRexx") or "log4rexx", both names seem to be "free".

The following URLs point to the slides and overview article of the framework, containing nutshell examples in ooRexx (the tilde character is an explicit message operator in ooRexx, hence the name right of a tilde is always a message name; in case a message carries arguments they are given as a comma-separated list in round parenthesis immediately following the message name):
A last remark ad asynchronously processing log messages: as it is very easy in ooRexx to start and stop multithreading at any time, an environment symbol is used to control this feature: this will cause the processing of log messages themselves to be carried out in a multithreaded fashion. Hence the appenders themselves need not to execute asyncrhoneously themselves (although they could in addition do that as well).

So if the package name 'log4o' or 'log4rexx' sound reasonable (and not name-clashing) I would plan to introduce it into the Apache realm...

Regards,

---rony

Curt Arnold | 14 May 2007 18:02
Picon
Favicon

Re: Little update and additional infos on the ooRexx implementation ... (Re: 'log4r' - a new 'log4j' like framework about to be released ...

On May 14, 2007, at 2:09 AM, Rony G. Flatscher (Apache) wrote:

Hi Curt,

in the meantime I could present the framework to the Rexx community at this year's International symposium and there seems to be interest in it. Therefore I plan to publish it via  apache labs. One of the things to solve beforehand would be to the name, which at the moment is set to "log4r", which - as you pointed out - has been taken by the Ruby implementation. Therefore I have been contemplating to name it either "log4o" (short for: "log4ooRexx") or "log4rexx", both names seem to be "free".

The following URLs point to the slides and overview article of the framework, containing nutshell examples in ooRexx (the tilde character is an explicit message operator in ooRexx, hence the name right of a tilde is always a message name; in case a message carries arguments they are given as a comma-separated list in round parenthesis immediately following the message name):
A last remark ad asynchronously processing log messages: as it is very easy in ooRexx to start and stop multithreading at any time, an environment symbol is used to control this feature: this will cause the processing of log messages themselves to be carried out in a multithreaded fashion. Hence the appenders themselves need not to execute asyncrhoneously themselves (although they could in addition do that as well).

So if the package name 'log4o' or 'log4rexx' sound reasonable (and not name-clashing) I would plan to introduce it into the Apache realm...

Regards,

---rony



Seems like it may have already out-grown the labs phase.  You apparently have a functioning code base and maybe the start of a community and applying to the incubator might be the appropriate action.  Completing a Podling Proposal would be helpful to identify any issues.

Seems like ooRexx has a established legal and development framework in which you are a significant participant.  Is there a reason that Apache would be a better home for log4r?

On a technical side, it appears that you were involved in the development of an ooRexx/Java bridge as part of Apache BSF.  Does the use of log4r resemble the use of log4j over the bridge?


 
Rony G. Flatscher (Apache | 15 May 2007 00:49
Picon
Favicon

Re: Little update and additional infos on the ooRexx implementation ... (Re: 'log4r' - a new 'log4j' like framework about to be released ...

Hi Curt,
> Seems like it may have already out-grown the labs phase.  You
> apparently have a functioning code base and maybe the start of a
> community and applying to the incubator might be the appropriate
> action.  Completing a Podling Proposal would be helpful to identify
> any issues.
Sorry, not being a native English speaker and not finding a translation,
may I just ask you what a "Podling Proposal" would be?

> Seems like ooRexx has a established legal and development framework in
> which you are a significant participant.  Is there a reason that
> Apache would be a better home for log4r?
Well, seeing that commons is going TLP and possibly removing its ties to
Java, I thought it might be a good idea to have comparable
implementations to the log4j architecture put untder the commons
umbrella. OTOH, it would be possible and feasible to submit the current
implentation to the opensource ooRexx project's incubator.

If you think that it would be better for the project to submit it to the
ooRexx  projec (and maybe have a link or infos about an ooRexx
implementation of the log4j architecture), I would do so. (If done so,
would you think that the term "log4r" would be still confusing with the
Ruby implementation?)

> On a technical side, it appears that you were involved in the
> development of an ooRexx/Java bridge as part of Apache BSF.  Does the
> use of log4r resemble the use of log4j over the bridge?
No, log4r as it stands now is a stand-alone, pure ooRexx implementation.
It would be feasible in general, however, to take advantage of log4j
itself using the ooRexx bridge for Apache BSF (but that is a totally
different use-case making ooRexx dependent on Java, which nowadays -
practically every computer has a JRE installed - may not be a hindering
stone anymore).

Regards,

---rony

Curt Arnold | 15 May 2007 02:37
Picon
Favicon

Re: Little update and additional infos on the ooRexx implementation ... (Re: 'log4r' - a new 'log4j' like framework about to be released ...


On May 14, 2007, at 5:49 PM, Rony G. Flatscher (Apache) wrote:

> Hi Curt,
>> Seems like it may have already out-grown the labs phase.  You
>> apparently have a functioning code base and maybe the start of a
>> community and applying to the incubator might be the appropriate
>> action.  Completing a Podling Proposal would be helpful to identify
>> any issues.
> Sorry, not being a native English speaker and not finding a  
> translation,
> may I just ask you what a "Podling Proposal" would be?

A proposal for an incubator project (also known as a podling).  A  
guide to proposal creation is available at http:// 
incubator.apache.org/guides/proposal.html and an example is available  
at http://maven.apache.org/proposals/incubator/nmaven.html.  You  
should also be familiar with the exit criteria for the incubator as  
described in http://incubator.apache.org/incubation/ 
Incubation_Policy.html#Minimum+Exit+Requirements.

>
>> Seems like ooRexx has a established legal and development  
>> framework in
>> which you are a significant participant.  Is there a reason that
>> Apache would be a better home for log4r?

> Well, seeing that commons is going TLP and possibly removing its  
> ties to
> Java, I thought it might be a good idea to have comparable
> implementations to the log4j architecture put untder the commons
> umbrella. OTOH, it would be possible and feasible to submit the  
> current
> implentation to the opensource ooRexx project's incubator.
>
> If you think that it would be better for the project to submit it  
> to the
> ooRexx  projec (and maybe have a link or infos about an ooRexx
> implementation of the log4j architecture), I would do so. (If done so,
> would you think that the term "log4r" would be still confusing with  
> the
> Ruby implementation?)

I think that you should avoid the name log4r regardless of the  
ultimate home for the framework.

Logging Services would be most appropriate ultimate home for log4r  
within Apache.  I don't know ooRexx community at all, so I can't  
judge your other options.  Here are the pros and cons with hosting  
the project at Apache:

Pros:

1. Established community and customs
2. Potential cross-pollination with log4j, log4cxx and log4net
3. Apache license

Cons:

1. Unable to formally release until graduation from incubator
2. Incubator exit criteria of 3 independent committers may be hard to  
achieve and maintain
3. No established ooRexx community (as far as I know)

>
>> On a technical side, it appears that you were involved in the
>> development of an ooRexx/Java bridge as part of Apache BSF.  Does the
>> use of log4r resemble the use of log4j over the bridge?
> No, log4r as it stands now is a stand-alone, pure ooRexx  
> implementation.
> It would be feasible in general, however, to take advantage of log4j
> itself using the ooRexx bridge for Apache BSF (but that is a totally
> different use-case making ooRexx dependent on Java, which nowadays -
> practically every computer has a JRE installed - may not be a  
> hindering
> stone anymore).

I was not suggesting implementing log4r in Java.  The design goal in  
all the log4X frameworks has been to minimize the cost of logging  
when disabled to the absolute minimum, ideally as little as an  
integer compare.  Switching between languages is usually much more  
expensive.

What I was suggesting is that you know what the syntax would be for  
calling log4j over the ooRexx-Java bridge and consider that your  
users might want to be able to migrate from log4r to log4j over the  
bridge if they need a feature not in log4r or if they are running  
within the context that is already using log4j.


Gmane