-
Notifications
You must be signed in to change notification settings - Fork 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
Fixed many problems in sending messages #4
Open
davidelang
wants to merge
13
commits into
bortels:master
Choose a base branch
from
davidelang:for-tom
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A prior commit had changed the files array to a two-level array $file[fileid][tailinfo,productname] This broke the File::Tail interface that was passed a reference to @file so this change was reverted, the array @NAMEs was created to hold the product names, and @pending was created to hold the prior data for multi-line logs many debug prints were put in, but they are all commented out. In addition, loglog will now output any pending data when a new timeslice rolls around and there is no new data to send.
canceled the pull request from the devel branch and issued a new one for the 'for-tom' branch |
…a mode that will handle this gracefully and then find the file if it reappears.
… rather than continuing to wait and append more data to the line. Also, fixed maxlength report to report the size of the log sent, not the size of the line.
…ow be set by the command line
…s to syslog. This is intended to read from a named pipe.
…all ram if it could not split a long message properly, now it has multiple fallbacks it trys to split on spaces, if there are no spaces it trys to split on tabs, if there are no tabs it trys to split on #015 (an escaped newline), and if that fails it splits on max log size
… controlled by the debug flag. The debug flag is a bitmask, so 1 enables one set of prints, 2 enables a different set, 3 enables both
…ave a third column holding the hostname so that logs can be gathered on one server, but then sent out as if they were being sent from the system that created the log
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
A prior commit had changed the files array to a two-level array $file[fileid][tailinfo,productname]
This broke the File::Tail interface that was passed a reference to @file
so this change was reverted, the array @NAMEs was created to hold the product names, and @pending was created to hold the prior data for multi-line logs
many debug prints were put in, but they are all commented out.
In addition, loglog will now output any pending data when a new timeslice rolls around and there is no new data to send.