Freeze break request: Enable logging for FedOAuth

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Hi all,

I would like to enable some more debugging info for FedOAuth, given some people have had some complaints about being unable to login, but no info on them in the WARN level.
Please give +1 or -1.
Patch:

- From c0ab10f0074f3200b2d5426267901b170e00ab37 Mon Sep 17 00:00:00 2001
From: Patrick Uiterwijk <puiterwijk@xxxxxxxxxx>
Date: Fri, 21 Nov 2014 14:43:16 +0000
Subject: [PATCH] Enable DEBUG logging for FedOAuth to a file

- ---
 roles/fedoauth/templates/fedoauth.log.cfg |   14 ++++++++++----
 1 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/roles/fedoauth/templates/fedoauth.log.cfg b/roles/fedoauth/templates/fedoauth.log.cfg
index 8a6bf6d..b289885 100644
- --- a/roles/fedoauth/templates/fedoauth.log.cfg
+++ b/roles/fedoauth/templates/fedoauth.log.cfg
@@ -2,20 +2,26 @@
 keys=root

 [handlers]
- -keys=syslog,email
+keys=syslog,email,file

 [formatters]
 keys=form01


 [logger_root]
- -level=INFO
- -handlers=syslog,email
+level=DEBUG
+handlers=syslog,email,file
+

+[handler_file]
+class=FileHandler
+level=DEBUG
+formatter=form01
+args=('/var/log/fedoauth.log', 'w')

 [handler_syslog]
 class=handlers.SysLogHandler
- -level=NOTSET
+level=INFO
 formatter=form01
 args=(('localhost', handlers.SYSLOG_UDP_PORT), handlers.SysLogHandler.LOG_LOCAL4)

- -- 
1.7.2.1



- -- 
With kind regards,
Patrick Uiterwijk
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJUb1DXAAoJEIZXmA2atR5Q7mkQAJ7ryWSVvJ+OObdaF2z6ikzp
Y+JP59Qu9jSOiuCeKQvEX7OdMQtgQG6OFTOptleQJGjNZ5h+1+CIP/mUXUok2Jo9
HfS28GX6NVw+9qYUBNIr8XULAixoOCzoaogKJPQRYkxlPg0Kv4Siws7J2Ys4yeV1
pO5Abgjc1/F6Qx/HTdrtOd2sWIUK5mxSBJGEfz0hwkSsSWym1giPz3xN35tuZGB1
ZNLMzLFtgYfs47NCRnRHINHpxMtkJgSjjxTdaoOuAeK2jyWtuHQqTjf5OjNOA25o
+/cYSD/DYSa3UmvRzlirIVJfx7+Z9aUC6roYNyc2sAp/00Y+BBk/7Nmg0l3DHBNK
IXCS5JOQivzRXMmGcgRdV9423khzQhh8nCLpW/N3OXg/65l24gCFlOXjneH8nXPF
YoIrbKmh8ZrvAu5ObtmNNXBPlPUTCQOCWtQLTWmx5Rp/n+mqGhk3V22dVE+s+/9F
C7AJuxHvXeWaTH8Cbo6Hpk6qzKtHxd5zaQ9H3XuCsho181Nclq18hLZHM5Sc7Wr4
nE9kWerUmsTXaVGYmslFI2Uzt4bQ87wNS0H54GByDXlHwkx5azFRHEiNeWBqb0bv
wZd/T1NY8Eg69q3ogSOypin24X9Zgj3Drygi+Ttow22ja20bgNlAK53Y/7lzfxs3
R6bJ+eZNiWlJUuJW/n/J
=knxO
-----END PGP SIGNATURE-----
_______________________________________________
infrastructure mailing list
infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/infrastructure





[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux