{"issue":{"created_at":"2011-11-29T07:14:27Z","state":"open","updated_at":"2011-11-29T07:14:31Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"comments":4,"body":"Hallo Leute,\n\nwie wäre es mit einem Hook, der immer dann greift, wenn eine Nachricht in den Systemlog geschrieben wird? Ich würde das für ein Modul benötigen, welches Reports erzeugt und an externe Server sendet.\n\n`\n// config.php\n$GLOBALS['TL_HOOKS']['fireSyslogEvent'][] = array('MyClass', 'fireSyslogEvent');\n\n// MyClass.php\npublic function fireSyslogEvent(/** Log Objekt? **/) {\n  \n}\n`\n\nMit freundlichen Grüßen\nMichael\n\n--- _Originally created by mn on September 25th, 2009, at 10:32am (ID 1028)_","assignee":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"id":2379577,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[{"name":"Feature","color":"4183c4","url":"https://api.github.com/repos/contao/test/labels/Feature"},{"name":"framework","color":"e6e6e6","url":"https://api.github.com/repos/contao/test/labels/framework"}],"number":1028,"title":"Systemlog Hook","closed_at":null,"html_url":"https://github.com/contao/test/issues/1028","url":"https://api.github.com/repos/contao/test/issues/1028","milestone":{"created_at":"2011-11-29T05:26:41Z","state":"open","closed_issues":91,"due_on":null,"creator":{"gravatar_id":"87d2e5aefadcb310f9155df28c2b3582","id":1192057,"url":"https://api.github.com/users/leofeyer","avatar_url":"https://secure.gravatar.com/avatar/87d2e5aefadcb310f9155df28c2b3582?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"leofeyer"},"number":9,"description":"TYPOlight 2.8.0 (minor release)","title":"2.8.0","open_issues":1,"url":"https://api.github.com/repos/contao/test/milestones/9"}},"action":"created","comment":{"created_at":"2011-11-29T07:14:31Z","updated_at":"2011-11-29T07:14:31Z","user":{"gravatar_id":"256406243346b9253f8610fb1d1e05f6","id":1215373,"url":"https://api.github.com/users/importer","avatar_url":"https://secure.gravatar.com/avatar/256406243346b9253f8610fb1d1e05f6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","login":"importer"},"body":"Hmm.. mit einer zentralen Logging-Instanz meine ich einen im Netzwerk verfügbaren Logging-Server. Das Ziel wäre es, möglichst zeitnah, die Log-Daten auf einen im lokalen Netzwerk verfügbaren Service zu senden. Die möglichkeit des Cron-Jobs und der damit verbundenen Auswertung der tl_log-Tabelle kam mir auch in den Sinn, nur hab ich da keine Gewissheit das es sofort passiert, sondern nur wenn jemand die Website aufruft und cron.php auslöst (oder?). Natürlich könnte ich mir auch einen Cron-Job am Server einrichten, ich hätte es aber gerne als \"plug and play\", was ja der ureigenste Sinn eines Moduls ist.\n\nWas meinst du?\n\n--- _Originally created by mn on September 30th, 2009, at 10:23am_","id":2918873,"url":"https://api.github.com/repos/contao/test/issues/comments/2918873"}}