Jörg Thalheim
88a3f0a6a7
logger: only get file path if actually requested
...
this is a rather expensive operation.
2025-05-20 10:09:20 +02:00
Jörg Thalheim
ccf8e99a98
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
6539a6a24f
Revert "Merge pull request 'Fix deploying with sudo + password' ( #3470 ) from target-host into main"
...
This reverts commit 8a849eb90f , reversing
changes made to 3b5c22ebcf .
2025-05-04 13:37:39 +02:00
Jörg Thalheim
82949237b7
fix terminal output when terminal is put into interactive mode
2025-05-04 10:51:49 +02:00
Jörg Thalheim
e2aa66d86f
reformat after update
2025-01-14 15:30:29 +01:00
Jörg Thalheim
0e455cc77e
machine_logger: increase truncation limit to 20
...
10 was a bit short.
2024-12-17 17:51:47 +01:00
Qubasa
3cc7511764
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
ee88e70a9f
no longer show prefix
2024-12-04 12:14:32 +01:00
Qubasa
55e080a89f
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
fddaa3a5bb
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
8866a85765
clan-cli: Refactor ssh part 2, Refactor custom_logger
2024-11-22 22:08:50 +01:00
Qubasa
2df1179666
clan-cli: Improved --debug output by indenting commands, add TRACE_DEPTH environment variable
2024-11-11 21:23:53 +07:00
Qubasa
6c17fa648f
clan_cli: Add exception handling in logger
2024-02-21 16:20:01 +07:00
Qubasa
51b087f7ae
clan-vm-manager: Fix double instantiation of Singleton. clan_cli: Shorten filepath of logging messages
2024-02-21 16:16:58 +07:00
Qubasa
16562946fe
vm-manager: Added log console printing on vm start. Added python logging module
2024-02-02 12:04:30 +07:00
Qubasa
d956dbeb77
UI: Added signal handling for stopped and started vm.
2024-01-19 18:52:51 +01:00
Qubasa
2da236b362
Improved error messages in clan_cli
2024-01-19 14:10:22 +01:00
Qubasa
2c2e4862ba
Fixed duplicate logging issue with correct logging in ssh and in root logger
2024-01-12 16:46:44 +01:00
Jörg Thalheim
47f4ef2c31
revert logger changes in f7c6ab5888
...
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
f7c6ab5888
Working test_secrets_generate
2024-01-11 21:48:39 +01:00
Jörg Thalheim
f1b223d0a1
modernisation for python 3.11
2023-11-29 13:29:45 +00:00
Qubasa
00ef406713
Updated to main branch. Removed cluttering asyncio and httpx log messages
2023-10-27 23:36:45 +02:00
Qubasa
d02acbe04b
nix fmt
2023-10-27 19:19:45 +02:00
Qubasa
9f464dd14e
Added ipdb as breakpoint console. Improved logging.
2023-10-27 19:19:45 +02:00
Qubasa
af3f04736b
Improved logging messages. Added ClanError if flake create or machine create already exist
2023-10-27 19:18:45 +02:00
Qubasa
8482bc79f6
Secrets tests passing. nix fmt doesn't complain
2023-10-27 19:18:45 +02:00
Jörg Thalheim
244ae37144
cli: simplify log handler
2023-09-27 09:47:50 +00:00
Jörg Thalheim
e5899c8e10
custom_logger: fix type errror in format_time
2023-09-27 09:47:50 +00:00
Qubasa
f6c8b963c1
Improving endpoint
2023-09-27 09:47:50 +00:00
Qubasa
d16bb5db26
Added threaded create_vm endpoint
2023-09-27 09:47:50 +00:00
Qubasa
7479fca82b
Started working on vm_create
2023-09-27 09:47:50 +00:00
Qubasa
9dca1a4672
CLI: Added custom logger
2023-09-27 09:47:50 +00:00