File tree Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Expand file tree Collapse file tree 2 files changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -125,15 +125,6 @@ public static function handleSPCException(SPCException $e): void
125
125
126
126
self ::logError ("\n---------------------------------------- \n" );
127
127
128
- // put getenv info to log
129
- $ env_log = fopen (SPC_ENV_LOG , 'a ' );
130
- $ env_info = getenv ();
131
- if ($ env_info ) {
132
- foreach ($ env_info as $ k => $ v ) {
133
- fwrite ($ env_log , $ k . ' = ' . $ v . PHP_EOL );
134
- }
135
- }
136
-
137
128
self ::logError ('⚠ The ' . ConsoleColor::cyan ('console output log ' ) . ConsoleColor::red (' is saved in ' ) . ConsoleColor::none (SPC_OUTPUT_LOG ));
138
129
if (file_exists (SPC_SHELL_LOG )) {
139
130
self ::logError ('⚠ The ' . ConsoleColor::cyan ('shell output log ' ) . ConsoleColor::red (' is saved in ' ) . ConsoleColor::none (SPC_SHELL_LOG ));
Original file line number Diff line number Diff line change 94
94
const SPC_LOGS_DIR = WORKING_DIR . DIRECTORY_SEPARATOR . 'log ' ;
95
95
const SPC_OUTPUT_LOG = SPC_LOGS_DIR . DIRECTORY_SEPARATOR . 'spc.output.log ' ;
96
96
const SPC_SHELL_LOG = SPC_LOGS_DIR . DIRECTORY_SEPARATOR . 'spc.shell.log ' ;
97
- const SPC_ENV_LOG = SPC_LOGS_DIR . DIRECTORY_SEPARATOR . 'spc.env.log ' ;
98
97
99
98
ConsoleLogger::$ date_format = 'H:i:s ' ;
100
99
ConsoleLogger::$ format = '[%date%] [%level_short%] %body% ' ;
You can’t perform that action at this time.
0 commit comments