You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "drhades (JIRA)" <ji...@apache.org> on 2011/05/23 05:00:48 UTC
[jira] [Created] (FELIX-2967) file-based log service wanted
file-based log service wanted
-----------------------------
Key: FELIX-2967
URL: https://issues.apache.org/jira/browse/FELIX-2967
Project: Felix
Issue Type: New Feature
Components: Log Service
Reporter: drhades
Log information is critical during debugging and maintenance.
Now, the log service sub-project only provides memory-based implementation.
And, the pax or other log implementations are quite difficult to be installed and used.
Do people here have a plan to improve the current log service to support file-logging?
Really looking forward.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
Re: [jira] [Created] (FELIX-2967) file-based log service wanted
Posted by jie yan <ya...@gmail.com>.
Thank Felix.
Sling Commons Log bundle is simple and fairly usable.
Just need to throw the Jar into ${FELIX}/bundle directory, and specify some
logging configuration in config.properties.
Regards,
drhades
On Mon, May 23, 2011 at 6:09 PM, Felix Meschberger <fm...@adobe.com>wrote:
> Hi,
>
> You might also want to look into the Sling Commons Log bundle [1]: This
> is a single bundle solution providing OSGi LogService, SLF4J, Log4J, and
> commons logging APIs writing to files by default and configurable
> through Configuration Admin (and with framework properties for basic
> setup).
>
> Regards
> Felix
>
> [1] http://sling.apache.org/site/logging.html
>
> Am Montag, den 23.05.2011, 04:00 +0100 schrieb drhades (JIRA):
> > file-based log service wanted
> > -----------------------------
> >
> > Key: FELIX-2967
> > URL: https://issues.apache.org/jira/browse/FELIX-2967
> > Project: Felix
> > Issue Type: New Feature
> > Components: Log Service
> > Reporter: drhades
> >
> >
> > Log information is critical during debugging and maintenance.
> > Now, the log service sub-project only provides memory-based
> implementation.
> > And, the pax or other log implementations are quite difficult to be
> installed and used.
> >
> > Do people here have a plan to improve the current log service to support
> file-logging?
> > Really looking forward.
> >
> > --
> > This message is automatically generated by JIRA.
> > For more information on JIRA, see:
> http://www.atlassian.com/software/jira
>
>
>
Re: [jira] [Created] (FELIX-2967) file-based log service wanted
Posted by Felix Meschberger <fm...@adobe.com>.
Hi,
You might also want to look into the Sling Commons Log bundle [1]: This
is a single bundle solution providing OSGi LogService, SLF4J, Log4J, and
commons logging APIs writing to files by default and configurable
through Configuration Admin (and with framework properties for basic
setup).
Regards
Felix
[1] http://sling.apache.org/site/logging.html
Am Montag, den 23.05.2011, 04:00 +0100 schrieb drhades (JIRA):
> file-based log service wanted
> -----------------------------
>
> Key: FELIX-2967
> URL: https://issues.apache.org/jira/browse/FELIX-2967
> Project: Felix
> Issue Type: New Feature
> Components: Log Service
> Reporter: drhades
>
>
> Log information is critical during debugging and maintenance.
> Now, the log service sub-project only provides memory-based implementation.
> And, the pax or other log implementations are quite difficult to be installed and used.
>
> Do people here have a plan to improve the current log service to support file-logging?
> Really looking forward.
>
> --
> This message is automatically generated by JIRA.
> For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FELIX-2967) file-based log service wanted
Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037710#comment-13037710 ]
Richard S. Hall commented on FELIX-2967:
----------------------------------------
I think this was discussed before. It seems that you just need to implement a log listener and save the log entries to a file. This could easily be done in a separate bundle. If you do so, attach the code to this issue and we can consider making it a configurable option to enable your file-saving log listener.
> file-based log service wanted
> -----------------------------
>
> Key: FELIX-2967
> URL: https://issues.apache.org/jira/browse/FELIX-2967
> Project: Felix
> Issue Type: New Feature
> Components: Log Service
> Reporter: drhades
> Labels: log, logging
>
> Log information is critical during debugging and maintenance.
> Now, the log service sub-project only provides memory-based implementation.
> And, the pax or other log implementations are quite difficult to be installed and used.
> Do people here have a plan to improve the current log service to support file-logging?
> Really looking forward.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (FELIX-2967) file-based log service wanted
Posted by "drhades (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/FELIX-2967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13037713#comment-13037713 ]
drhades commented on FELIX-2967:
--------------------------------
Thanks for your replay.
I'm a quite newbie here, but I will attempt to implement such a log listener.
> file-based log service wanted
> -----------------------------
>
> Key: FELIX-2967
> URL: https://issues.apache.org/jira/browse/FELIX-2967
> Project: Felix
> Issue Type: New Feature
> Components: Log Service
> Reporter: drhades
> Labels: log, logging
>
> Log information is critical during debugging and maintenance.
> Now, the log service sub-project only provides memory-based implementation.
> And, the pax or other log implementations are quite difficult to be installed and used.
> Do people here have a plan to improve the current log service to support file-logging?
> Really looking forward.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira