Did this Rust code:
pub async fn post(req: Request, _params: Params) -> Result<Response> {
println!("POSTED to INBOX");
for n in 1..20 {
println!("{n}: ######################");
}
...
}
So every time when my post method is hit by request, I am supposed to see 20 of {n}: #### lines.
However actually I am just seeing only first 10 lines.
Guessing --tail option's default 10 value is taking over --follow thing.
Following is working but only showing 10 lines every time when I get new logs.
Tried with both --tail and --follow options (spin cloud logs --follow --tail 100) but still getting only 10 lines.
Discord thread here:
https://discord.com/channels/926888690310053918/1024646765149950022/1186957181887729674
Did this Rust code:
So every time when my post method is hit by request, I am supposed to see 20 of {n}: #### lines.
However actually I am just seeing only first 10 lines.
Guessing
--tailoption's default 10 value is taking over--followthing.Following is working but only showing 10 lines every time when I get new logs.
Tried with both
--tailand--followoptions (spin cloud logs --follow --tail 100) but still getting only 10 lines.Discord thread here:
https://discord.com/channels/926888690310053918/1024646765149950022/1186957181887729674