summaryrefslogtreecommitdiffstats
path: root/lite-server.py
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-12-02 14:27:47 -0500
committerMartin Kosek <mkosek@redhat.com>2012-01-16 12:37:12 +0100
commitf7753bf55cf713b93f1c12d0fc6dde7f804dd975 (patch)
tree84b0aa62c05b878ca6caf56d32c577bac991670d /lite-server.py
parent3bfd49a46543b5965298087fb6427e45760c4804 (diff)
downloadfreeipa-f7753bf55cf713b93f1c12d0fc6dde7f804dd975.tar.gz
freeipa-f7753bf55cf713b93f1c12d0fc6dde7f804dd975.tar.xz
freeipa-f7753bf55cf713b93f1c12d0fc6dde7f804dd975.zip
Add labels so HBAC and Sudo rules show under hosts/hostgroups.
Also fix a bunch of trailing whitespace. https://fedorahosted.org/freeipa/ticket/1751
Diffstat (limited to 'lite-server.py')
-rwxr-xr-xlite-server.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/lite-server.py b/lite-server.py
index 0ffa62e4..b7067a56 100755
--- a/lite-server.py
+++ b/lite-server.py
@@ -80,6 +80,7 @@ class WebUIApp(object):
f = None
try:
f = open(requested_file, 'r')
+ api.log.info('Request file %s' % requested_file)
start_response('200 OK', [('Content-Type', mime_type)])
return [f.read()]
except IOError:
@@ -88,6 +89,7 @@ class WebUIApp(object):
finally:
if f is not None:
f.close()
+ api.log.info('Request done')
if __name__ == '__main__':