How to get the full log when converter cvs to svn respo

Jon

How to get the full log when converter cvs to svn respo

Postby Jon » Mon Sep 19, 2005 9:23 am

Hi,
When using svn-importer-1.1-M6 to converter cvs respo to svn respo, I set the log4j properties in config.properties file like this:

#Log options
log4j.rootLogger=DEBUG, stdout
log4j.appender.file=org.apache.log4j.FileAppender
log4j.appender.file.File=c:/svnlog/svnimporter.log
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %5p %c{1}:%L - %m%n

log4j.appender.historyFile=org.apache.log4j.FileAppender
log4j.appender.historyFile.File=c:/svnlog/history.log
log4j.appender.historyFile.layout=org.apache.log4j.PatternLayout
log4j.appender.historyFile.layout.ConversionPattern=%m%n

log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%c{1}:%L %5p - %m%n

But I can not get the log files... :(

another thing is:
I want to get the more detailed logs such as the cvs command logs when the SVN-importer try to communicate with the cvs server because some error happens when the SVN-importer try to get file's contents from cvs server and I want to know what causes this problem.

dobisekm
Posts: 118
Joined: Wed Mar 23, 2005 3:29 pm
Location: Prague, Czech Republic

Postby dobisekm » Mon Sep 19, 2005 1:24 pm

Hi Jon,

in your configuration you specify
log4j.rootLogger=DEBUG, stdout

and therefore your logging goes just to the console (stdout), but not to any file. Try comparing your configuration with the default one and change it to:
log4j.rootLogger=DEBUG, file

or add new lines like
log4j.logger.cz=DEBUG, file
log4j.logger.cz=DEBUG, stdout
.

I hope this helps,

Michal Dobíšek, Polarion Team.

Guest

Receiver

Postby Guest » Tue Sep 20, 2005 2:30 am

So who collects it then? [;)]

Jon

Postby Jon » Tue Sep 20, 2005 4:02 am

Thanks!
It is my mistake :oops: Now,I can get the log file.
And do you know how can I get the more detailed debug informations?
For example:

Code: Select all

cvs checkout -l -r 1.1 -d /gfdi/interfaces/data/ActionId.java/1.1 Framew
ork_Interfaces/gfdi/interfaces/data/ActionId.java
cvs [server aborted]: absolute pathname `/gfdi/interfaces/data/ActionId.java/1.1' illegal for serve


Return to “Polarion SVN Importer (Repository Converter)”

Who is online

Users browsing this forum: No registered users and 5 guests