Skip to content

logtail doesn't like -s arg when used with -o #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
mbucc opened this issue Dec 3, 2014 · 1 comment
Open

logtail doesn't like -s arg when used with -o #1

mbucc opened this issue Dec 3, 2014 · 1 comment

Comments

@mbucc
Copy link
Owner

mbucc commented Dec 3, 2014

mark@marks-mbp:~/src/ai% ./logtail -s testing/1.log -o testing/1.offset                                                                                                                                 <<<
ERROR 181 - Input parameter error, testing/1.log.
mark@marks-mbp:~/src/ai% ./logtail testing/1.log -s -o testing/1.offset

  Usage: logtail [log_file] <offset_file>
     or: logtail [-l log_file] <-o offset_file> <-d rolled_log_directory>
       : <-f rolled_log_filename> <-r> <-s> <-t> <-b>
     or: logtail -h

mark@marks-mbp:~/src/ai% ./logtail testing/1.log -o testing/1.offset -s

  Usage: logtail [log_file] <offset_file>
     or: logtail [-l log_file] <-o offset_file> <-d rolled_log_directory>
       : <-f rolled_log_filename> <-r> <-s> <-t> <-b>
     or: logtail -h

mark@marks-mbp:~/src/ai% ./logtail testing/1.log -s
mark@marks-mbp:~/src/ai% echo $?
0
mark@marks-mbp:~/src/ai% 
@mbucc
Copy link
Owner Author

mbucc commented Dec 3, 2014

Actually, that last command created an offset file named '-s' in the current directory. I'm going to treat this option as broken for now. (Based on the output of -h, it may just work in combo with the -f arg, but that seems not very useful.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant