LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   sending application log to remote host (https://www.linuxquestions.org/questions/linux-newbie-8/sending-application-log-to-remote-host-865012/)

PoleStar 02-25-2011 11:41 AM

sending application log to remote host
 
Hi,

How is it done?
Right now its just getting written in a local text file(not /var/../.., not using syslog at all).
and every day a new file is being created.


Thank you.

szboardstretcher 02-25-2011 11:44 AM

Quote:

Originally Posted by PoleStar (Post 4271094)
Hi,

How is it done?
Right now its just getting written in a local text file(not /var/../.., not using syslog at all).
and every day a new file is being created.


Thank you.

What software is "it"?

PoleStar 02-25-2011 12:01 PM

what it does is

Code:

do
 some thing
    some ting
 print    "something success report"  to AlogFile


I need that print statement on remote log.

Its a home grown java app.

Thanks

PoleStar 02-25-2011 01:48 PM

I think I need to use utility called curl to transfer files.


Thanks.


All times are GMT -5. The time now is 12:07 AM.