[TYPO3-core] RFC: Resubmission of feature #1585: Logfile by Request URI + configuration of Empty Referer handling + logline hook

Steffen Kamper steffen at sk-typo3.de
Sun Mar 2 00:54:30 CET 2008


"Michael Stucki" <michael at typo3.org> schrieb im Newsbeitrag 
news:mailman.1.1204411479.24277.typo3-team-core at lists.netfielders.de...
> Hi Steffen,
>
>> i have a general question about this approach:
>> I think it's better to use a general approach to log also other things 
>> too.
>> We already have the syslog feature which allows to send those messages 
>> to.
>> With a hook it's easy to customize it and save to a file, so why 
>> inventing a
>> total new routine for it?
>
> You are right of course. I was just uploading this patch which I used
> some time ago on a customers site. However, using syslog is indeed better.
>
> So it seems like only some little parts of the patch remain to be done.
> Anyone who wants to take care of it?
>
> - michael
> -- 
> Use a newsreader! Check out
> http://typo3.org/community/mailing-lists/use-a-news-reader/

please have a look to attached patch, i think this easy change is all what 
is needed. I used "fatal error" for any pageError and the function 
pageErrorHandler is called with each error while page render.

vg  Steffen 


begin 666 1585_simple_log.diff
M26YD97 at Z('1Y<&\S+W-Y<V5X="]C;7,O='-L:6(O8VQA<W,N='-L:6)?9F4N
M<&AP#0H]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]
M/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]/3T]#0HM+2T@='EP;S,O<WES97AT
M+V-M<R]T<VQI8B]C;&%S<RYT<VQI8E]F92YP:' )*')E=FES:6]N(#,S,S,I
M#0HK*RL@='EP;S,O<WES97AT+V-M<R]T<VQI8B]C;&%S<RYT<VQI8E]F92YP
M:' )*'=O<FMI;F<@8V]P>2D-"D! ("TQ-#$W+#<@*S$T,3<L,3 @0$ -"B )
M("H at 0')E='5R;@EV;VED"0DH5&AE(&9U;F-T:6]N(&5X:71S(2D*( D@*B\*
M( EF=6YC=&EO;B!P86=E17)R;W)(86YD;&5R*"1C;V1E+" D:&5A9&5R/2<G
M+" D<F5A<V]N/2<G*0E["BT**PD)"BL)"0DO+R!G96YE<F%T92!S>7-L;V<@
M96YT<GD**PD)=#-L:6)?9&EV.CIS>7-,;V<H)')E87-O;BPG8VUS)RPT*3L*
M*PD)"B )"0DO+R!)<W-U92!H96%D97(@:6X at 86YY(&-A<V4Z"B )"6EF("@D
M:&5A9&5R*0E["B )"0DD:&5A9&5R07)R(#T@<')E9U]S<&QI="@G+UQR?%QN
D+R<L)&AE861E<BPM,2Q04D5'7U-03$E47TY/7T5-4%19*3L*
`
end



More information about the TYPO3-team-core mailing list