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

Comments

Projects
None yet
2 participants
@gschueler
Member

gschueler commented Jul 5, 2017

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

This comment has been minimized.

Show comment
Hide comment
@jcdsilva

jcdsilva Jul 17, 2017

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.

jcdsilva commented Jul 17, 2017

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

This comment has been minimized.

Show comment
Hide comment
@gschueler

gschueler Jul 17, 2017

Member

@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.

Member

gschueler commented Jul 17, 2017

@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

This comment has been minimized.

Show comment
Hide comment
@jcdsilva

jcdsilva Jul 17, 2017

@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.

jcdsilva commented Jul 17, 2017

@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

This comment has been minimized.

Show comment
Hide comment
@gschueler

gschueler Aug 1, 2017

Member

@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.

Member

gschueler commented Aug 1, 2017

@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

Merge pull request #2610 from gschueler/feature/gui-toggle-wrap-log-l…
…ines

Fix #2608 add gui toggle to not wrap long log lines

@gschueler gschueler closed this Aug 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment