dhis2-documenters team mailing list archive
-
dhis2-documenters team
-
Mailing list archive
-
Message #02316
Re: Log Files
Hi Anthony
The files are created by and owned by the user which is running tomcat.
Ideally you will have created a user specifically for this
When you see the log files are owned by root it means that you have run
tomcat as the root user (with sudo). This is not recommended for security
reasons.
Having done it once, its tricky to go back. You have change the ownership
of all the log files back to to the tomcat user before tomcat will start
without using sudo.
If you are using dhis2-tools then these issues are largely taken care of.
There is a non-privileged user created to run each instance. The instance
will refuse to run as root.
Regards
Bob
On 22 January 2017 at 13:59, Muyepa A. <muyepaa@xxxxxxxxx> wrote:
> Who owns the files under <tomcat-dir>/logs/ and <DHIS2_HOME>/logs/?
> Somehow they are all under root but wonder if this is supposed to be the
> case.
>
> Regards
>
>
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-documenters
> Post to : dhis2-documenters@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-documenters
> More help : https://help.launchpad.net/ListHelp
>
>
References