Skip to content
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

Logging general filetypes #28

Open
btickell opened this issue Dec 8, 2019 · 2 comments
Open

Logging general filetypes #28

btickell opened this issue Dec 8, 2019 · 2 comments

Comments

@btickell
Copy link

btickell commented Dec 8, 2019

I would like to log some files not covered by the current built in log_* methods. Is there a way to log an entire directory or a generic file?

@geyang
Copy link
Owner

geyang commented Dec 9, 2019

there is a log_file command you can use for single files :)

For a whole directory there isn't an existing method. Although it would definitely become handy.

to do that, we need to add a method log_directory that

  1. gzips the folder
  2. uploads the gzip in parts
  3. have an endpoint on the server supporting file upload.

this can not be done as POST request because the size limit.

@btickell
Copy link
Author

Write, this has an issue that I believe log_directory is used as the path to the log by the logger currently.

Is the POST request size limit a limit set by the server being used?

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

2 participants