• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

log file in jboss

 
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello ,

I have started the Jboss server

for some time the logs written to file and the console are in sync

after some time the logs are no longer written to file

is there a limit to file size that is causing this ?

is there any configuration I need to do ?


The log file that I am looking at is :: <<JBOSS_HOME>>\server\default\log\SERVER.txt
Thanks ,
~satish
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the size of the file? How are you determining that nothing else is being written to it? The server log uses a DailyRollingFileAppender which by default at midnight closes the existing file, renames it, and opens a new log file.
 
satish bodas
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Peter for the details .

File size is about 1.2 MB


Why i say that nothing is being written to file is because when I invoke some servlet which is deployed on console I see the debug statements written in code

The same are not displayed in this file .

All these activities happen from me starting the server to invoking a servlet which is less than 5 minutes .

Thanks ,
~satish
 
Peter Johnson
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Next question - how are you going about viewing the server.log file? Perhaps the mechanism you are using is not refreshing the display of the file.
 
satish bodas
Ranch Hand
Posts: 116
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My bad - I was being stupid
actually using editplus - and it does refresh the data

However there is some timer / service which is running in jboss server that was repeatedly every 2 /3 minutes writing to log

as a result my trace log was lost in this

my stupidity in not viewing the logs properly

apologies and thanks
~satish
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic