You might have edited the wrong config file.  You need to edit
logging.properties in the WEB-INF folder.

The todo app (generated by the quickstart archetype [1]) actually has an
example, see [2,3,4].  You should see logging to the stderr console
whenever a todo item is "completed".

Of course, even better than logging is unit tests :-)

HTH
Dan

[1] http://isis.apache.org/getting-started/quickstart-archetype.html
[2]
https://github.com/apache/isis/blob/quickstart_wicket_restful_jdo-archetype-1.3.1-RC1/example/application/quickstart_wicket_restful_jdo/dom/src/main/java/dom/todo/ToDoItem.java#L125
[3]
https://github.com/apache/isis/blob/quickstart_wicket_restful_jdo-archetype-1.3.1-RC1/example/application/quickstart_wicket_restful_jdo/dom/src/main/java/dom/todo/ToDoItem.java#L322
[4]
https://github.com/apache/isis/blob/quickstart_wicket_restful_jdo-archetype-1.3.1-RC1/example/application/quickstart_wicket_restful_jdo/webapp/src/main/webapp/WEB-INF/logging.properties#L165




On 8 January 2014 17:17, Chohan, Dharmesh <[email protected]> wrote:

> Hi
>
> I am using the SLF4j logger to do logging.  I have edited the
> log4j.properties file and using the file appender A1 for Datanucleus.
> However, I cannot see any log output in the datanucleous.log.
>
> Anyone seen this problem or have any idea.
>
> Thanks
> Dharmesh
>
>
>
>
  • Logging SL4J Chohan, Dharmesh
    • Re: Logging SL4J Dan Haywood

Reply via email to