Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

maintaining a log file on server(Linux-Apachi)  RSS feed

 
pollai mandala
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I need to create a log file on server for log information.
Every time the servlet in initialized, i want to open it.
I can able to do this by simply creating object of FileOutputStram class in Windows using javawebserver2.0 .
But the problem is , i dont know the path supported for creating file on Linux using Apachi Server .
can anybody help me?
thanks in advance.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!