Files
2012-02-21 01:15:00 -05:00

1 line
3.7 KiB
JSON

[{"user_id": 275, "stars": [], "topic_id": 38385, "date_created": 1307403141.638027, "message": "you can setup logging to log to a file", "group_id": 81, "id": 1314391}, {"user_id": 275, "stars": [], "topic_id": 38385, "date_created": 1307403172.4081931, "message": "alternatively, `manage.py runserver > logfile.txt`", "group_id": 81, "id": 1314400}, {"user_id": 3656, "stars": [], "topic_id": 38385, "date_created": 1307402424.895998, "message": "Can someone point me to a way of logging requests to a file?", "group_id": 81, "id": 1314216}, {"user_id": 3656, "stars": [], "topic_id": 38385, "date_created": 1307402479.6715851, "message": "But in a file", "group_id": 81, "id": 1314226}, {"user_id": 3656, "stars": [], "topic_id": 38385, "date_created": 1307402469.0444939, "message": "I want something akin to runserver output", "group_id": 81, "id": 1314224}, {"user_id": 275, "stars": [], "topic_id": 38385, "date_created": 1307403149.949883, "message": "even the normal runserver output", "group_id": 81, "id": 1314396}, {"user_id": 275, "stars": [], "topic_id": 38385, "date_created": 1307403129.4796951, "message": "read up on the logging module", "group_id": 81, "id": 1314388}, {"user_id": 3656, "stars": [], "topic_id": 38385, "date_created": 1307430070.2677569, "message": "I read all on the logging module. There's logger logging 400s and 500s, but not all requests. And I'm not running runserver in production.", "group_id": 81, "id": 1317599}, {"user_id": 6415, "stars": [], "topic_id": 38385, "date_created": 1307432147.186532, "message": "You can use the start request signal to add logs for all requests.", "group_id": 81, "id": 1317775}, {"user_id": 1127, "stars": [{"date_created": 1307458756.5434361, "user_id": 6415}, {"date_created": 1307934092.5632761, "user_id": 5778}], "topic_id": 38385, "date_created": 1307433689.585597, "message": "skip logging to a file, jump to Sentry. Live get's easier :)", "group_id": 81, "id": 1317894}, {"user_id": 1127, "stars": [], "topic_id": 38385, "date_created": 1307433708.941613, "message": "(use pgsql, skip mysql)", "group_id": 81, "id": 1317897}, {"user_id": 1127, "stars": [], "topic_id": 38385, "date_created": 1307433700.923743, "message": "github.com/dcramer/django-sentry", "group_id": 81, "id": 1317895}, {"user_id": 1127, "stars": [], "topic_id": 38385, "date_created": 1307434079.573354, "message": "If you Sentry is too heavy, you can also use middleware (or the signal like @oinopion mentions)", "group_id": 81, "id": 1317933}, {"user_id": 5980, "stars": [], "topic_id": 38385, "date_created": 1307435749.228322, "message": "Couldn't you get your webserver to do this?", "group_id": 81, "id": 1318265}, {"user_id": 3656, "stars": [], "topic_id": 38385, "date_created": 1307440170.4693649, "message": "@zeeg yeah, I'm planning to, but.... I'd like to also have a logfile.", "group_id": 81, "id": 1318893}, {"user_id": 3656, "stars": [], "topic_id": 38385, "date_created": 1307440117.341882, "message": "@j4mie I probably could. Just why the hell I can't use django for that?", "group_id": 81, "id": 1318886}, {"user_id": 2362, "stars": [{"date_created": 1307472446.4161651, "user_id": 1127}], "topic_id": 38385, "date_created": 1307452470.1456921, "message": "It'd probably be better to have your webserver handle this, TBH.", "group_id": 81, "id": 1320666}, {"user_id": 32942, "stars": [], "topic_id": 38385, "date_created": 1308009297.691251, "message": "Django's default logging certainly leaves a lot to be desired, surprisingly so. Seems like a violation of the DRY principle to me.", "group_id": 81, "id": 1386146}, {"user_id": 34431, "stars": [], "topic_id": 38385, "date_created": 1308089929.6111281, "message": "@oinopion You're webserver already logs request, why do it again in Django?", "group_id": 81, "id": 1394985}]