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

Separate job log #97

Open
HoneyryderChuck opened this issue Aug 6, 2013 · 0 comments
Open

Separate job log #97

HoneyryderChuck opened this issue Aug 6, 2013 · 0 comments

Comments

@HoneyryderChuck
Copy link

I think this isn't a feature yet, but it is a proposal I'd much rather have implemented. I need to log the jobs separately to present some kind of output or exception to the client. As of now they are being all piped to Resque.logger, which defaults to STDOUT. I'd like to have the oportunity to define a new log output destination as soon as the worker gets forked. As default stuff would stay the same and it would all be piped to Resque.logger.

What do you think? It isn't apparently that much of an issue, I'd say one could define a "logger" instance method on the job class, which would in turn either return a string naming the destination log file or a Logger instance.

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