GeeCON Prague 2014*
The moose likes JBoss/WildFly and the fly likes No idea where the logs are generated using LOGUtils class and JBoss server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "No idea where the logs are generated using LOGUtils class and JBoss server" Watch "No idea where the logs are generated using LOGUtils class and JBoss server" New topic
Author

No idea where the logs are generated using LOGUtils class and JBoss server

Vinod Vinu
Ranch Hand

Joined: Aug 30, 2009
Posts: 217
Hi, im working on a maintenance project. I have very little knowledge about it. For some debugging purpose, i tried to use System.out.println(); but nothing got printed on server's console. Then i tried to check the log files under JBosss->default->server->log directory but still no logs were there.
Currently in this system, they have used LOGUtils class files to generate the logs.

Do you have any idea from where i can find the location of logs or how to just display strings on server's console. I like SOP more rather than LOGUtils.

Thanks in advance.


Vinod Kumar Nair
"Any fool can write code that a computer can understan. Good programmers write code that humans can understand."
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

as you said the server/default/log is most likely, but depending on the configuration you should also check the other server/* directories.
Also, since there is a custom logging class used, all bets are off and you may be forced to search for them. Do you know the file name?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5836
    
    7

Which LOGUtils class? google yielded several.

SOP?


JBoss In Action
 
GeeCON Prague 2014
 
subject: No idea where the logs are generated using LOGUtils class and JBoss server