Although the problem was manually corrected after creating the log dir and 
setting the respective value in log4j.properties, I am still getting the 
following error related to solr logs:

log4j:ERROR setFile(null,true) call failed.

*java.io.FileNotFoundException: /log/solr.log (No such file or directory)*    
at java.io.FileOutputStream.open0(Native Method)
    at java.io.FileOutputStream.open(FileOutputStream.java:270)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
    at java.io.FileOutputStream.<init>(FileOutputStream.java:133)
    at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
    at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
    at 
org.apache.log4j.DailyRollingFileAppender.activateOptions(DailyRollingFileAppender.java:223)
    at 
org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
    at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
    at 
org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
    at 
org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:842)
    at 
org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:768)
    at 
org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:648)
    at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:514)
    at 
org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:580)
    at 
org.apache.log4j.PropertyConfigurator.configure(PropertyConfigurator.java:415)
    at 
org.dspace.solr.filters.ConfigureLog4jListener.contextInitialized(ConfigureLog4jListener.java:79)
    at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4812)
    at 
org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5255)
    at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:147)
    at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408)
    at 
org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
log4j:ERROR Either File or DatePattern options are not set for appender 
[file].

It seems that a relevant substitution needs to be made to configure solr 
logs (?)

Any idea where the solr logs location is set? Can't seem to find it.

Thx,

Pantelis

On Sunday, May 22, 2016 at 6:53:59 PM UTC+3, Pantelis Karamolegkos wrote:
>
> After running fresh_install, a file literally named ${log.dir} is created 
> in dspace_installer folder.
> It seems no parameter substitution takes place when running the ant target.
> Where are the folder names taken from, i.e. ${upload.temp.dir}, 
> ${report.dir} etc and why the log dir is not substituted while the others 
> are?
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.

Reply via email to