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 a symlink to log file #2531

Closed
wants to merge 1 commit into from
Closed

Conversation

nakulkar-msft
Copy link
Contributor

This change creates a symlink to log file, the symlink is valid while the job is in progress, and will be removed when the job completes.

Copy link
Member

@gapra-msft gapra-msft left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this trying to resolve logs sometimes not ending in .log?

@nakulkar-msft
Copy link
Contributor Author

is this trying to resolve logs sometimes not ending in .log?

Yes, we'll always have a .log file pointing to current log file. So if program crashes (which we ideally dont want to), we still have a log file at the path we display. Kind of similar to syslog

@nakulkar-msft nakulkar-msft linked an issue Jan 10, 2024 that may be closed by this pull request
@nakulkar-msft
Copy link
Contributor Author

Closing this, as Vikas suggested a better way.

@nakulkar-msft nakulkar-msft deleted the nakulkar/private/logFile2 branch January 20, 2024 02:40
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

Successfully merging this pull request may close these issues.

3 participants