Skip to content

Commit 94591cc

Browse files
committed
Mortadela
1 parent 23762a9 commit 94591cc

7 files changed

Lines changed: 39 additions & 41 deletions

File tree

Cargo.lock

Lines changed: 32 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Changelog.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
### Core
44
- Converts println/eprintln into log functions - [#1478](https://github.com/qarmin/czkawka/pull/1478)
55
- Speedup a little cache loading/saving - [#1478](https://github.com/qarmin/czkawka/pull/1478)
6-
- Logging logs also to files - [#1508](https://github.com/qarmin/czkawka/pull/1508)
6+
- Logging messages and panics also to files - [#1508](https://github.com/qarmin/czkawka/pull/1508)
77
- Added 4GB memory limit when loading/saving cache and avoiding crashes - [#1508](https://github.com/qarmin/czkawka/pull/1508)
88

99
### GTK Gui
@@ -14,7 +14,7 @@
1414
- Ability to select multiple items with mouse and keyboard - [#1478](https://github.com/qarmin/czkawka/pull/1478)
1515
- Added sort buttons - [#1501](https://github.com/qarmin/czkawka/pull/1501)
1616
- Remembering window size - [#1508](https://github.com/qarmin/czkawka/pull/1508)
17-
- Added tranlations - [#1508](https://github.com/qarmin/czkawka/pull/1508)
17+
- Added translations - [#1508](https://github.com/qarmin/czkawka/pull/1508)
1818

1919
### External
2020
– There is a new, unofficial Tauri-based frontend for Czkawka - [Czkawka Tauri](https://github.com/shixinhuang99/czkawka-tauri)

czkawka_cli/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ indicatif = "0.17"
2121
crossbeam-channel = { version = "0.5", features = [] }
2222
ctrlc = { version = "3.4", features = ["termination"] }
2323
humansize = "2.1"
24-
log-panics = { version = "2.1.0", features = ["with-backtrace"] }
2524

2625
[features]
2726
default = ["fast_image_resize"]

czkawka_core/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ once_cell = "1.20"
6363
rawloader = "0.37"
6464
imagepipe = "0.5"
6565
libraw-rs = { version = "0.0.4", optional = true }
66-
jxl-oxide = { version = "0.11.0", features = ["image"] }
66+
jxl-oxide = { version = "0.12.0", features = ["image"] }
6767

6868
# Checking for invalid extensions
6969
mime_guess = "2.0"
@@ -87,6 +87,7 @@ itertools = "0.14"
8787
static_assertions = "1.1.0"
8888
file-rotate = "0.8.0"
8989

90+
log-panics = { version = "2.1.0", features = ["with-backtrace"] }
9091

9192
# Don't update anymore! This crate has a bug. I've submitted a patch upstream, but the change is breaking. The current code relies on the bug to work correctly!
9293
# Warning by CalunVier 2024.7.15

czkawka_core/src/common.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,14 +166,16 @@ pub fn get_number_of_threads() -> usize {
166166

167167
fn filtering_messages(record: &Record) -> bool {
168168
if let Some(module_path) = record.module_path() {
169-
["czkawka", "krokiet"].iter().any(|t| module_path.starts_with(t))
169+
["krokiet", "czkawka_core", "czkawka_gui"].iter().any(|t| module_path.starts_with(t))
170170
} else {
171171
true
172172
}
173173
}
174174

175175
#[allow(clippy::print_stdout)]
176176
pub fn setup_logger(disabled_terminal_printing: bool, app_name: &str) {
177+
log_panics::init();
178+
177179
let terminal_log_level = if disabled_terminal_printing { LevelFilter::Off } else { LevelFilter::Info };
178180
let file_log_level = LevelFilter::Debug;
179181

czkawka_gui/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ once_cell = "1.20"
3333
log = "0.4.22"
3434
fun_time = { version = "0.3", features = ["log"] }
3535
rayon = "1.10"
36-
log-panics = { version = "2.1.0", features = ["with-backtrace"] }
3736

3837
czkawka_core = { path = "../czkawka_core", version = "9.0.0", features = [] }
3938

krokiet/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ image_hasher = "3.0"
2626
rayon = "1.10"
2727
fs_extra = "1.3" # TODO replace with less buggy library
2828
trash = "5.1"
29-
log-panics = { version = "2.1.0", features = ["with-backtrace"] }
3029

3130
# Translations
3231
i18n-embed = { version = "0.15", features = ["fluent-system", "desktop-requester"] }

0 commit comments

Comments
 (0)