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

@vmario89 vmario89 commented Mar 28, 2018

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 Maximus5 added this to To do in RoadMap via automation Mar 28, 2018
@Maximus5
Copy link
Owner

@Maximus5 Maximus5 commented Apr 18, 2018

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

@jiujutsu99 jiujutsu99 commented Apr 20, 2018

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

@Maximus5 Maximus5 commented Apr 20, 2018

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

@Maximus5 Maximus5 removed this from To do in RoadMap Apr 23, 2018
@Maximus5 Maximus5 added this to To Do in ConEmu via automation Apr 23, 2018
@Maximus5 Maximus5 moved this from To Do to In progress in ConEmu Apr 23, 2018
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 Maximus5 moved this from In progress to Ready for Testing in ConEmu Apr 23, 2018
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
ConEmu
  
Ready for Testing
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants