Fixed. Did a minor tweak to send the logging to the standard log.
___
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/Li
OK, this patch seems to do the trick for me. DHIS has suddenly become very
quiet.
There are some bad things about this patch, namely that velocity is init-ed
in two places..VelocityManager and GridUtils. I did not want to start to
refactor GridUtils, so I basically put the same code in two places.
Jason appreciate the investigation you are doing here. I think it's
important that we handle these things well.
On 29 October 2011 20:18, Jason Pickering wrote:
> I agree, it is a minor issue. It is just annoying when trawling through logs
> to see all this stuff which seemingly we have no use f
I agree, it is a minor issue. It is just annoying when trawling through logs
to see all this stuff which seemingly we have no use for, and no control
over (especially in production environments)
The diff I sent, along with the addition of a velocity.properties file in
WEB-INF/classes with content
hi,
the velocity manager is a new addition used in places where we use velocity on
our own, and as you show is prbably easy enough to fix. It will probably be a
bit more cumbersome to override struts' initalization of velocity, and I'm not
sure it is worth the effort..
Jo
_
I tried out a few things, and it seems to be related to the init of
velocity.
The initial errors related to the velocity.log can be relieved with the
following diff, although I never actually see this file appear anywhere.
These errors occur before the initial start-up procedures commence.
There
Den 28. okt. 2011 kl. 17.53 skrev Jason Pickering:
> Okay but in the context of an ubuntu package installer, is this such a good
> idea? Then we need to hack some startup scripts from the package i would
> presume which defeats the purpose.
In the setups I've done lately I've had several tomca
Okay but in the context of an ubuntu package installer, is this such a good
idea? Then we need to hack some startup scripts from the package i would
presume which defeats the purpose.
I will continue to dig but it would seem we should just nullify this output
entirely for production installs.
Reg
Den 28. okt. 2011 kl. 16.53 skrev Jason Pickering:
> Thoughts?
Yes, bad thoughts about the velocity developers... Seriously, I just gave up
and do a cd into the log dir. Though, as Bob would say, it is not "the right
solution", so if anyone else fixes this, please let me know :)
Jo
__
I got the logging setup, sort of. I borrowed much from the dhis-live
log4j.properties file, and then attempted to deal with the velocity stuff.
My file is here
http://pastebin.com/3yyS8JcZ
which I placed in the DHIS2_HOME directory, and then defined an environment
variable to point to this file.
Likely this should be looked into . Here is a pretty typical one.
http://pastebin.com/cqPGiRT8
Also, there is a whole bunch of stuff in the catalina.out which seems to be
related to velocity issues
INFO: RHS of #set statement is null. Context will not be modified.
/dhis-web-dataentry/sectionForm
On 28 October 2011 12:44, Jo Størset wrote:
> Hi Jason,
>
> I think the easiest is maybe to tweak the startup script you are running to
> cd into the log directory before starting tomcat. Then velocity.log will end
> up there.. If you use ubuntu packages, you can change the existing cd in
> /et
Hi Jason,
I think the easiest is maybe to tweak the startup script you are running to cd
into the log directory before starting tomcat. Then velocity.log will end up
there.. If you use ubuntu packages, you can change the existing cd in
/etc/init.d/tomcat6 (or the equivalent). Or chmod $CATALIN
I am sure this may have been answered before, but I cannot seem to find it.
I get some annoying messages in my catalina.out file, which I would rather
not see related to DHIS not being able to write to velocity.log.
It seems to want to write this in rather random locations, and I am not even
slig
14 matches
Mail list logo