You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by Shashank <da...@gmail.com> on 2006/09/13 21:30:12 UTC

Logging issue

Hi All,

I am relatively new to setting up the log4j. And i have a problem.  I have two
app servers generating 2 seperate logging files. I need a way for them to
generate a single logging file. 
If there was a way to get the logger to use a web service that can be used for
logging asynchronoulsy that woudl be fine too.. but i don't know how to do this
or if this is even possible. Can someone help me with my question???

thanks,
-Shashank


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


Re: Logging issue

Posted by Shashank <da...@gmail.com>.
thanks patrick. i think thats the way we woudl want to go in.. or by using
jmsappender to log in messages. as long as it doesnt add much overhead to the
system we should be good going the jms way...




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


Re: Logging issue

Posted by patrick <Pa...@mobilesolutions.ch>.
if both machines are on a local network you just have to make sure the used
port is not open to the outside world.
with reasonable firewall setting this should be the default anyway
so no need for ssh...

another solution might be to log into a database


Shashank-3 wrote:
> 
> Shashank <davanagere <at> gmail.com> writes:
> 
> Hmm.. it doesnt sound too secure unless we coudl use ssh to secure the
> ports.
> Then that might be a bottleneck. We obviously cannot have logs that are
> not
> secure... :roll:
> 
> 

-- 
View this message in context: http://www.nabble.com/Logging-issue-tf2267558.html#a6306757
Sent from the Log4j - Users forum at Nabble.com.


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


Re: Logging issue

Posted by Shashank <da...@gmail.com>.
Shashank <davanagere <at> gmail.com> writes:

Hmm.. it doesnt sound too secure unless we coudl use ssh to secure the ports.
Then that might be a bottleneck. We obviously cannot have logs that are not
secure... :roll:




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


Re: Logging issue

Posted by James Stauffer <st...@gmail.com>.
You can have each server use a SocketAppender and then have
SocketServer (not sure on the name) to receive them and write them to
a file.

On 9/13/06, Shashank <da...@gmail.com> wrote:
> Hi All,
>
> I am relatively new to setting up the log4j. And i have a problem.  I have two
> app servers generating 2 seperate logging files. I need a way for them to
> generate a single logging file.
> If there was a way to get the logger to use a web service that can be used for
> logging asynchronoulsy that woudl be fine too.. but i don't know how to do this
> or if this is even possible. Can someone help me with my question???
>
> thanks,
> -Shashank
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
> For additional commands, e-mail: log4j-user-help@logging.apache.org
>
>


-- 
James Stauffer        http://www.geocities.com/stauffer_james/
Are you good? Take the test at http://www.livingwaters.com/good/

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