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

Add GUI toggle for not wrapping long lines in the log output #2608

Closed
gschueler opened this issue Jul 5, 2017 · 4 comments
Closed

Add GUI toggle for not wrapping long lines in the log output #2608

gschueler opened this issue Jul 5, 2017 · 4 comments
Milestone

Comments

@gschueler
Copy link
Member

Issue type: Enhancement Request

Add a checkbox to the execution log view GUI to allow toggling between wrapping/not-wrapping long output lines.

long lines were not wrapped previous to release 2.6.3, but after #1558 they were wrapped.

gschueler added a commit to gschueler/rundeck that referenced this issue Jul 6, 2017
@jcdsilva
Copy link

Have similar request.
Say I have a job which takes 5 minutes to complete. Till it completes, GUI shows "Running" and no log output will be there. Even though my job prints lot of information, I am not sure whether it's running properly as in GUI it just shows "Running".
Is there any way to get the output before the job gets completed.

@gschueler
Copy link
Member Author

@jcdsilva there are a few reasons that might happen. 1. if you are running a python script, it buffers all output by default until it is complete. 2. if you are in cluster mode with a log storage plugin configured, but viewing the execution from a cluster member that is not the one executing the job, you will not see the output until the execution completes. This is the current design of the way logs work in a cluster.

@jcdsilva
Copy link

@gschueler
Thanks for that.
Im using python script but with -u option to provide unbufferred stdout.
Coming to point 2, we have framework.logs.dir defined which is an LVM. But rundeck.clusterMode.enabled is not set.

@gschueler
Copy link
Member Author

@jcdsilva then i am not sure why that is happening. the execution should write log output to a .rdlog file as it receives it. The GUI reflects the contents of that file. you can try looking on the filesystem for that file while a job is running.

@gschueler gschueler added this to the 2.9.0 milestone Aug 1, 2017
gschueler added a commit that referenced this issue Aug 2, 2017
…ines

Fix #2608 add gui toggle to not wrap long log lines
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants