File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 2
2
3
3
## Unreleased
4
4
5
+ ### Changed
6
+
7
+ - Make proxyLogDirectory a setting in the vscode extension rather than using the default for vscode,
8
+ and only send the --log-dir argument to coder/coder if the value is set.
9
+
5
10
## [ v1.3.1] ( https://github.com/coder/vscode-coder/releases/tag/v1.3.1 ) (2024-07-15)
6
11
7
12
### Fixed
Original file line number Diff line number Diff line change @@ -638,9 +638,9 @@ export class Remote {
638
638
if ( supportsCoderAgentLogDirFlag ( this . coderVersion ) ) {
639
639
const logDir = expandPath ( String ( vscode . workspace . getConfiguration ( ) . get ( "coder.proxyLogDirectory" ) ?? "" ) . trim ( ) )
640
640
if ( logDir ) {
641
- await fs . mkdir ( this . storage . getLogPath ( ) , { recursive : true } )
642
- logArg = ` --log-dir ${ escape ( this . storage . getLogPath ( ) ) } `
643
- this . storage . writeToCoderOutputChannel ( `Your logs are being written to ${ this . storage . getLogPath ( ) } ` )
641
+ await fs . mkdir ( logDir , { recursive : true } )
642
+ logArg = ` --log-dir ${ escape ( logDir ) } `
643
+ this . storage . writeToCoderOutputChannel ( `Your logs are being written to ${ logDir } ` )
644
644
}
645
645
}
646
646
const sshValues : SSHValues = {
You can’t perform that action at this time.
0 commit comments