Is there any documentation on how to properly configure the target of the LogMiddleware? I can verify that the logging in middleware.rs example works as it should, but I am unable to get any log output working in my own applications. I tried switching the example "hello_world::web" target to "my_crate::web", "my_crate", "my_crate::path::to::my_resource::web", "my_resource::web", and "my_resource", and all attempts seem to do nothing.
Retried "my_crate::web" again, and it seems to be working now after a clean rebuild. This appears to be the correct format. Hopefully this helps anyone who finds this issue in the future.
Is there any documentation on how to properly configure the target of the
LogMiddleware
? I can verify that the logging inmiddleware.rs
example works as it should, but I am unable to get any log output working in my own applications. I tried switching the example"hello_world::web"
target to"my_crate::web"
,"my_crate"
,"my_crate::path::to::my_resource::web"
,"my_resource::web"
, and"my_resource"
, and all attempts seem to do nothing.