|
4 | 4 |
|
5 | 5 | Proxmox VE APIv2 (PVE2) Client - PHP Class
|
6 | 6 |
|
7 |
| -Copyright (c) 2012-2014 Nathan Sullivan |
8 |
| -
|
9 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy of
|
10 | 8 | this software and associated documentation files (the "Software"), to deal in
|
11 | 9 | the Software without restriction, including without limitation the rights to
|
@@ -230,12 +228,13 @@ private function action ($action_path, $http_method, $put_post_parameters = null
|
230 | 228 | $action_response_array = json_decode($body_response, true);
|
231 | 229 |
|
232 | 230 | $action_response_export = var_export($action_response_array, true);
|
233 |
| - error_log("----------------------------------------------\n" . |
234 |
| - "FULL RESPONSE:\n\n{$action_response}\n\nEND FULL RESPONSE\n\n" . |
235 |
| - "Headers:\n\n{$header_response}\n\nEnd Headers\n\n" . |
236 |
| - "Data:\n\n{$body_response}\n\nEnd Data\n\n" . |
237 |
| - "RESPONSE ARRAY:\n\n{$action_response_export}\n\nEND RESPONSE ARRAY\n" . |
238 |
| - "----------------------------------------------"); |
| 231 | + // Per GH Issues #45/#47, commenting and may later expose this via option. |
| 232 | + // error_log("----------------------------------------------\n" . |
| 233 | + // "FULL RESPONSE:\n\n{$action_response}\n\nEND FULL RESPONSE\n\n" . |
| 234 | + // "Headers:\n\n{$header_response}\n\nEnd Headers\n\n" . |
| 235 | + // "Data:\n\n{$body_response}\n\nEnd Data\n\n" . |
| 236 | + // "RESPONSE ARRAY:\n\n{$action_response_export}\n\nEND RESPONSE ARRAY\n" . |
| 237 | + // "----------------------------------------------"); |
239 | 238 |
|
240 | 239 | unset($action_response);
|
241 | 240 | unset($action_response_export);
|
|
0 commit comments