logging-log4j-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pavel Muhataev <Pav...@moscow.vestedev.com>
Subject RE: Localization configuration
Date Wed, 04 Jul 2001 07:55:19 GMT
Hi all

In fact there was three suggestions.

1) To create some code which get categories names automatically by callers
method name. 
For example:
class Log {
	static debug(Object obj) {... Automatically get callers method name,
get category and call category.debug(obj) ...}
	etc.
}

Due to some reliability problems this improvement is impossible.

2) To make resource bundles configurable through configuration files, not
only at run-time.

3) To create some function in Category class to dump arbitrary objects. ( I
have working code of this function ).


Best regards, Pavel.

-----Original Message-----
From: Ceki Gulcu [mailto:cgu@qos.ch]
Sent: Wednesday, July 04, 2001 00:15
To: LOG4J Developers Mailing List
Subject: RE: Localization configuration


At 08:08 03.07.2001 -0700, you wrote:

=== Cut ===

I afraid we are using the term localization differently. As I understand it,
Pavel wanted to have categories get their name from the class they were
defined automatically.

As in

class X {
  Category cat = Category.getInstance();
} 

instead of the current

class X {
  Category cat = Category.getInstance(X.class);
} 

Changing client code to use: 

class X {
  Category cat = Category.getInstance();
} 

is "irreversible" in the sense that it is not a configuration parameter that
one flip in order to revert to the old Category.getInstance(X.class) type
code.

=== Cut ===

begin 600 winmail.dat
M>)\^(A4'`0:0"``$```````!``$``0>0!@`(````XP0```````#G``$(@`<`
M&````$E032Y-:6-R;W-O9G0@36%I;"Y.;W1E`#$(`06``P`.````T0<'``0`
M"P`W`!,``P`[`0$@@`,`#@```-$'!P`$``L`-P`4``,`/`$!"8`!`"$````X
M1C0Y-S`Q-3E!-D9$-3$Q.$8V-3`P-C`Y-S=",D(X1``1!P$$@`$`'P```%)%
M.B!,;V-A;&EZ871I;VX@8V]N9FEG=7)A=&EO;@!R"P$-@`0``@````(``@`!
M`Y`&`#`)```N````"P`"``$````#`"X``````$``.0`@F\VK7@3!`1X`<``!
M````&P```$QO8V%L:7IA=&EO;B!C;VYF:6=U<F%T:6]N```"`7$``0```!L`
M```!P0/_;N`D@XXIYEY'U:[:,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Y0<#`Z,34=
M5"%`2J!,@$]'-$H@1&5'8;1O<"6"34N10X),!`":=$RE=2IC2J!214_!<F\D
ML6EZ.U0ZVT5/"F)!!4`P.#I5T$Y0,]`N,#<N3J,M5F!.L/TMP'D(8![@`V`.
ML">E'53N/5BP$B`D0"!8L1U;'1!W`U`+<"80=Q[0"L`>T'6?`)!#D1Z1'H`$
MD&T@%[#U4PED!I!F'K$","3@*U'_!"!"T#D1)8$!D"[!-$!')?\>X0(P"8`S
M,D+S(RDBXAZ1_FD%P"/2'C`#85MS0*4>H/\D\%JP'L$!`0N`7Y$D.R!+KUVQ
M"X$=:2@46"BG($`)?SRQ6-$O5B+A'A!>4CC0*/XI&3`QU2:%'50+@!_@(9#_
M)A!$$R(1"'!=,F7O9O]H#[UI'5A,8"@B:@\=5$,3X/]#D$.#,^`UXB(S,T%;
M(">0?VJK;9]NKV^_:=]JZ`0@(M]A8!@@-;`4`#:R(C_26X)_%!``@#HR/+$T
M0#82/")A_SK-"K$CX5O!?!0"(#\Q,^#_06`_X06P!($S,GJ3'G$A4+];@@;P
M)A!W?W"Z'H!Y4*`7(B,@2UB_?870```>`$(0`0```#`````\-2XP+C(N,2XP
M+C(P,#$P-S`S,C(P.#,P+C`R,68W,SDP0&UA:6PN<6]S+F-H/@`#`-X_KV\`
M``,`"5D!`````P`$@`@@!@``````P````````$8`````4H4``"=J`0`>``6`
M""`&``````#`````````1@````!4A0```0````0````Y+C``'@`*@`@@!@``
M````P````````$8`````-H4```$````!`````````!X`"X`((`8``````,``
M``````!&`````#>%```!`````0`````````>``R`""`&``````#`````````
M1@`````XA0```0````$`````````"P`"@`@@!@``````P````````$8`````
M`X4````````#``.`""`&``````#`````````1@`````0A0````````L`#X`(
M(`8``````,````````!&``````:%`````````P`&@`@@!@``````P```````
M`$8``````84````````+``>`""`&``````#`````````1@`````.A0``````
M``,`"(`((`8``````,````````!&`````!&%`````````P`)@`@@!@``````
MP````````$8`````&(4````````#`/$_"00```,`_3_C!````P`F```````#
M`#8```````,`@!#_____`@%'``$````O````8SU253MA/2`[<#U61$D[;#U%
M6$-(04Y'12TP,3`W,#0P-S4U,3E:+3$Q-C(U,0``'@`X0`$````'````4$%6
M14Q-```>`#E``0````<```!0059%3$T``$``!S"*L\VK7@3!`4``"#!:QN"K
M7@3!`1X`/0`!````!0```%)%.B``````'@`=#@$````;````3&]C86QI>F%T
M:6]N(&-O;F9I9W5R871I;VX``!X`-1`!````0````#Q",S`X0C8R-C,P135$
M,S$Q041!,S`P,#`V,D$Q-T9"0C`R,#5%1C-!0&5X8VAA;F=E+G9E<W0N;7-K
M+G)U/@`+`"D```````L`(P```````P`&$$GXW+4#``<04@0```,`$!``````
M`P`1$``````>``@0`0```&4```!(24%,3$E.1D%#5%1(15)%5T%35$A21453
M54='15-424].4S$I5$]#4D5!5$533TU%0T]$15=(24-(1T540T%414=/4DE%
M4TY!345305543TU!5$E#04Q,64)90T%,3$524TU%``````(!?P`!````0```
M`#Q",S`X0C8R-C,P135$,S$Q041!,S`P,#`V,D$Q-T9"0C`R,#5%1C-!0&5X
68VAA;F=E+G9E<W0N;7-K+G)U/@#^.`==
`
end

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-dev-help@jakarta.apache.org


Mime
View raw message