Jörg Thalheim
5d99fb1e47
fix logger no longer applying to clan_lib
...
with moving code to clan_lib we are missing logging for some output. To
fix this we remove the module scoping from the logger and just set one
global logger.
2025-05-20 10:09:20 +02:00
Jörg Thalheim
9af16037a2
Revert "Merge pull request 'Fix deploying with sudo + password' ( #3470 ) from target-host into main"
...
This reverts commit fbc0f9cde5 , reversing
changes made to b47c25c620 .
2025-05-04 13:37:39 +02:00
Jörg Thalheim
bd53342e50
fix terminal output when terminal is put into interactive mode
2025-05-04 10:51:49 +02:00
Jörg Thalheim
3bcbc8fa3d
reformat after update
2025-01-14 15:30:29 +01:00
Jörg Thalheim
09c30b4d10
machine_logger: increase truncation limit to 20
...
10 was a bit short.
2024-12-17 17:51:47 +01:00
Qubasa
65a5789c5b
clan-cli: Replace HostGroup and MachineGroup with generic AsyncRuntime class. Propagate cmd prefix over thread local. Close threads on CTRL+C
2024-12-09 18:07:23 +01:00
Jörg Thalheim
041547b317
no longer show prefix
2024-12-04 12:14:32 +01:00
Qubasa
80045a9af1
clan-cli: Add -L option to nixos-rebuild switch to still have build output, simplify logging code
2024-11-28 10:42:43 +01:00
Qubasa
a1a367c57c
clan-cli: Refactor colors to a subset of colors that work in light and dark mode
2024-11-27 12:42:10 +01:00
Qubasa
979e5e839d
clan-cli: Refactor ssh part 2, Refactor custom_logger
2024-11-22 22:08:50 +01:00
Qubasa
d3f0107f4d
clan-cli: Improved --debug output by indenting commands, add TRACE_DEPTH environment variable
2024-11-11 21:23:53 +07:00
Qubasa
70a1c03989
clan_cli: Add exception handling in logger
2024-02-21 16:20:01 +07:00
Qubasa
aebf960188
clan-vm-manager: Fix double instantiation of Singleton. clan_cli: Shorten filepath of logging messages
2024-02-21 16:16:58 +07:00
Qubasa
a894b358b4
vm-manager: Added log console printing on vm start. Added python logging module
2024-02-02 12:04:30 +07:00
Qubasa
f4ccb09406
UI: Added signal handling for stopped and started vm.
2024-01-19 18:52:51 +01:00
Qubasa
154bdc384f
Improved error messages in clan_cli
2024-01-19 14:10:22 +01:00
Qubasa
5730dd8921
Fixed duplicate logging issue with correct logging in ssh and in root logger
2024-01-12 16:46:44 +01:00
Jörg Thalheim
6ef8fd95fa
revert logger changes in 6647c38417
...
This adds another logger to the logger in clan_cli.ssh which we do not want
2024-01-12 14:48:36 +01:00
Qubasa
6647c38417
Working test_secrets_generate
2024-01-11 21:48:39 +01:00
Jörg Thalheim
6f0722c692
modernisation for python 3.11
2023-11-29 13:29:45 +00:00
Qubasa
e389c7cfe7
Updated to main branch. Removed cluttering asyncio and httpx log messages
2023-10-27 23:36:45 +02:00
Qubasa
9c8829c32f
nix fmt
2023-10-27 19:19:45 +02:00
Qubasa
6d0deefa6b
Added ipdb as breakpoint console. Improved logging.
2023-10-27 19:19:45 +02:00
Qubasa
0ab2b853f2
Improved logging messages. Added ClanError if flake create or machine create already exist
2023-10-27 19:18:45 +02:00
Qubasa
d96ea61243
Secrets tests passing. nix fmt doesn't complain
2023-10-27 19:18:45 +02:00
Jörg Thalheim
7a617ecb3c
cli: simplify log handler
2023-09-27 09:47:50 +00:00
Jörg Thalheim
2d9c141ac1
custom_logger: fix type errror in format_time
2023-09-27 09:47:50 +00:00
Qubasa
4a40a2759e
Improving endpoint
2023-09-27 09:47:50 +00:00
Qubasa
b58b274118
Added threaded create_vm endpoint
2023-09-27 09:47:50 +00:00
Qubasa
da02c7f4ae
Started working on vm_create
2023-09-27 09:47:50 +00:00
Qubasa
ae58a8eb14
CLI: Added custom logger
2023-09-27 09:47:50 +00:00