Task #5592 (closed)
Opened 13 years ago
Closed 13 years ago
BUG: hardcoded implementation in settings.py
Reported by: | atarkowska | Owned by: | atarkowska |
---|---|---|---|
Priority: | critical | Milestone: | OMERO-Beta4.3 |
Component: | General | Version: | n.a. |
Keywords: | n.a. | Cc: | jamoore, wmoore, cxallan |
Resources: | n.a. | Referenced By: | n.a. |
References: | n.a. | Remaining Time: | 0.0d |
Sprint: | 2011-06-02 (13) |
Description (last modified by jmoore)
Due to the changes made in [bd5d01d360ab93fc296d67de5383da8885b2e83a/ome.git] web no longer create debugging log. This could be easy sorted out by:
try: sys.getwindowsversion() except: pass
Background
While trying to get OmeroWeb to run under IIS on Windows 2008, no logging was being produced though IIS stated that there was an internal server error (forcing a complete restart). By moving the logging earlier in settings.py, it's possible to log more of the actual configuration itself (i.e. settings.py). (In this case, IIS did not have permissions for accessing config.xml). Further, the permissions on that file must also be increased, otherwise IIS again fails.
Change History (8)
comment:1 Changed 13 years ago by atarkowska
- Cc jmoore wmoore cxallan added
- Description modified (diff)
- Remaining Time changed from 0 to 0.1
comment:2 Changed 13 years ago by atarkowska
- Priority changed from minor to critical
comment:3 Changed 13 years ago by jmoore
comment:4 Changed 13 years ago by atarkowska
This is just name of file. The most important is LOGLEVEL = logging.DEBUG
comment:5 Changed 13 years ago by jmoore
- Description modified (diff)
Then would it suffice to lower the level later in settings.py?
comment:6 Changed 13 years ago by atarkowska
yes I got it now working. I will commit it soon.
comment:7 Changed 13 years ago by atarkowska
- Status changed from new to accepted
comment:8 Changed 13 years ago by Aleksandra Tarkowska <aleksandrat@…>
- Remaining Time changed from 0.1 to 0
- Resolution set to fixed
- Status changed from accepted to closed
(In [e3a8bd579f1a54226bb3341bd8cbc70c65829bbc/ome.git] on branch develop) this fixes logger issue, close #5592
Ola, what's the theory behind the OMEROweb-debug.log? I.e. what was the original thinking behind having two files instead of one?