Task #3275 (new)
Opened 14 years ago
Last modified 14 years ago
Prevent web settings.py from logging in on CLI usage
Reported by: | jamoore | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | Unscheduled |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | atarkowska |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | n.a. |
Sprint: | n.a. |
Description
/tmp/OMERO.py-4.2.1-r8605-Beta4.2-b35 $ l total 8 drwxr-xr-x 8 moore wheel 272 Nov 12 14:05 . drwxrwxrwt 204 root wheel 6936 Nov 12 14:01 .. drwxr-xr-x 6 moore wheel 204 Nov 12 09:55 bin drwxr-xr-x 22 moore wheel 748 Nov 12 09:55 etc drwxr-xr-x 4 moore wheel 136 Nov 12 09:55 lib -rw-r--r-- 1 moore wheel 775 Nov 12 14:05 myscript.py drwxr-xr-x 6 moore wheel 204 Nov 12 09:55 sql drwxr-xr-x 3 moore wheel 102 Nov 12 14:01 var /tmp/OMERO.py-4.2.1-r8605-Beta4.2-b35 $ bin/omero /tmp/OMERO.py-4.2.1-r8605-Beta4.2-b35 $ ls var/ log /tmp/OMERO.py-4.2.1-r8605-Beta4.2-b35 $ find var/ var/ var//log var//log/OMEROweb.log /tmp/OMERO.py-4.2.1-r8605-Beta4.2-b35 $ vi var/log/OMEROweb.log /tmp/OMERO.py-4.2.1-r8605-Beta4.2-b35 $ cat var/log/OMEROweb.log Fri, 12 Nov 2010 14:03:59 omero.util.Resources INFO Starting Fri, 12 Nov 2010 14:04:00 omero.util.Resources INFO Halted Fri, 12 Nov 2010 14:04:18 omero.util.Resources INFO Starting Fri, 12 Nov 2010 14:04:18 omero.util.Resources INFO Halted Fri, 12 Nov 2010 14:04:24 omero.util.Resources INFO Starting Fri, 12 Nov 2010 14:04:24 omero.util.Resources INFO Halted Fri, 12 Nov 2010 14:05:05 omero.util.Resources INFO Starting Fri, 12 Nov 2010 14:05:16 omero.util.Resources INFO Halted Fri, 12 Nov 2010 14:07:12 omero.util.Resources INFO Starting Fri, 12 Nov 2010 14:07:12 omero.util.Resources INFO Halted Fri, 12 Nov 2010 14:07:26 omero.util.Resources INFO Starting
Note: See
TracTickets for help on using
tickets.
You may also have a look at Agilo extensions to the ticket.
Solution is possibly to let plugins/web.py create var/ and not settings.py. In the case that web.py won't be used (for IIS, for example) then we should say that the logs should not be under var/log anyway, because of ownership issues.