vaibhav barshi

Greenhorn
+ Follow
since Jan 09, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by vaibhav barshi

Hi ,

I am using Java Logging API (java.util.logging.Logger) to log message into files.

Development environment is as below:-
Java Runtime :- Java 1.6
Application Server :- Websphere Application Server 7.0.0.1

Logging file configuration is below.All messages are getting succesfully.
#logging.properties file configuration
com.test.jdk14logger.filepath=C:/temp/log%g.log
com.test.logger.jdk14logger.limit=1048576
com.test.logger.jdk14logger.count=2
com.test.logger.jdk14logger.append=true

I am expecting below behavior for above configuration:-
1 Two files should be created as log0.log and log1.log
2 Logging will done in log0.log file upto its limit i.e 1 MB reached.
3 As max limit of log0.log reached , data from log0 will be transferred to log1.log and log0.log will be emptied.
Further all logs will be done again in log0.log

But I found behavior in actual working
1 Logging data gets rotated from log0.log to log1.log before log0.log file reaches its max limit as 1MB (Its starts at few KB only)
2 No of files generated is more than 2
3 ".lck" files are getting generated.

Please help out to sort out above issues.

Thanks ,
Vaibhav


14 years ago
Hi all,

Sorry , this might be wrong forum to post this query.But I don't have any other Best alternative than this.

I have few Sun Certification Vouchers on discounted price of 4500Rs(India)

Appllicable Sun Exams :- SCJP , SCWCD ,SCBCD,SCDJWS,SCMAD etc (All (310 exams))
Expiray Date :- 24 Jan 2009

Please contact on - vaibhav_k_4u@yahoo.co.in or 09422029082

Thanks,
Java guy




15 years ago