S3Sync.net
February 02, 2014, 01:33:51 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: s3sync --some_options >/path/to/log.log works *after* quitting s3sync  (Read 3149 times)
maelcum
Newbie
*
Posts: 43



View Profile
« on: April 23, 2007, 10:36:54 AM »

hokay... difficult to explain, so please bear with me...

when I call something like "s3sync.rb  -v -r -s  /volume/dir  hostname:  >/volume/dir/file.log"
s3sync works beautifully, though nothing shows up in the log while it is running.
Once I quit s3sync, the log is filled.

Calling the line without the ">/volume/dir/file.log" at the end (to redirect output) gives me the single lines of s3sync operations.

This might be related to my machine, my os (linux 2.4.something) or my mistake. I just wonder if I'm doing anything wrong.

Thanks.

maelcum

Logged
ferrix
Sr. Member
****
Posts: 363


(I am greg13070 on AWS forum)


View Profile
« Reply #1 on: April 23, 2007, 11:13:43 AM »

Buffering of line output is probably controlled by your shell (that's what's hooking up the things together via the '>' operator)
Logged
maelcum
Newbie
*
Posts: 43



View Profile
« Reply #2 on: April 25, 2007, 11:20:46 AM »

Ok. Thanks.

Might well be. I've installed s3sync on a NAS-Box with ash (not bash) as a shell.
I haven't noticed this behaviour with other commands, but then, those are "internal" in comparison to the ruby-calls.

At least I'm sure now, that it isn't s3sync.rb.

Topic closed.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!