This content has been marked as final. Show 3 replies
Adding to my previous thread, In Place of log4j, we may use Java loggers. But where do we see these loggers in Oracle java cloud?
Edited by: 941976 on 06-Feb-2013 23:17
When you use JDK loggers (java.utils.logging API) the logs are available for you to search, view, download in Java Service Console (See link "View Service Logs" near Servlet metrics pane) or you can
view , download, search or tail logs using command line interface (CLI) which is part of the Java Cloud Service SDK.
In CLI (javacloud.jar) Use following command parameter
query-service-logs - Gets application log records that match the given search
criteria. The search scope is restricted using one of the
combinations "last,unit" or "starttime,endtime". Users can
limit the number of log records in the search results to
be returned, using -limit.
Thanks for your response. Sorry for the delayed acknowledgement.