LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-25-2011, 12:41 PM   #1
PoleStar
Member
 
Registered: Jul 2010
Posts: 170

Rep: Reputation: 2
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.
 
Old 02-25-2011, 12:44 PM   #2
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux systemd
Posts: 4,211

Rep: Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612Reputation: 1612
Quote:
Originally Posted by PoleStar View Post
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"?
 
Old 02-25-2011, 01:01 PM   #3
PoleStar
Member
 
Registered: Jul 2010
Posts: 170

Original Poster
Rep: Reputation: 2
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
 
Old 02-25-2011, 02:48 PM   #4
PoleStar
Member
 
Registered: Jul 2010
Posts: 170

Original Poster
Rep: Reputation: 2
I think I need to use utility called curl to transfer files.


Thanks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
sending remote command to background process + out log c0m4r Linux - Newbie 6 02-02-2010 05:34 AM
sending appche log to a remote syslog server sezam2 Linux - Server 4 02-18-2009 08:09 PM
application message sending to remote users ttumelty Programming 3 10-29-2005 06:46 AM
Sending mail via Postfix smtpd through remote host requiring authentication Saffsd Linux - Networking 0 01-26-2004 06:05 AM
can't get syslog to log to remote host o4m Linux - Software 1 08-25-2002 08:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration