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

Distinct log file names and paths (feature request) #1492

Open
vmario89 opened this issue Mar 28, 2018 · 3 comments
Open

Distinct log file names and paths (feature request) #1492

vmario89 opened this issue Mar 28, 2018 · 3 comments

Comments

@vmario89
Copy link

Hi, i'd like to be able to set a custom log file name and file path per ConEmu tab / task. This could be done by adding a switch like -SetOption("logFile","<Path"). This would make sense for some of my tasks so can better follow up what i've done in what Console/Shell.
What do you think about?

@vmario89 vmario89 changed the title Distinct log file names and paths (feature requesT) Distinct log file names and paths (feature request) Mar 28, 2018
@Maximus5
Copy link
Owner

I think it's possible to set the folder for AnsiLog files with -new_console argument.
For example: -new_console:L:"C:\Logs".

@jiujutsu99
Copy link

I created a new task to test this:
cmd.exe -new_console:L:"C:\Logs1"
I also have a folder there named Logs1 but no new logs even after restarting ConEmu.
How were you able to designate a log folder for a specific task?

@Maximus5
Copy link
Owner

Of course, they did not. That's why this issue has enhancement label.

Maximus5 added a commit that referenced this issue Apr 23, 2018
…e:L:"<path>"`,

  where `<path>` is a folder to store AnsiLog files, e.g. `C:\Logs`.

  https://conemu.github.io/en/AnsiLogFiles.html
Maximus5 added a commit that referenced this issue Mar 24, 2019
… `-new_console:L:"Path"`.

  Write all ANSI logs to specified file:
  `cmd.exe -new_console:L:"C:\Logs\cmd.log"`.
  Create log files by format `ConEmu-<YYYY-MM-DD>-p<SrvPid>.log`:
  `cmd.exe -new_console:L:"C:\Logs\"`.
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

3 participants