Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFE: improve logs readability #162

Open
delabassee opened this issue Oct 12, 2018 · 1 comment
Open

RFE: improve logs readability #162

delabassee opened this issue Oct 12, 2018 · 1 comment

Comments

@delabassee
Copy link
Contributor

delabassee commented Oct 12, 2018

I'm hitting an issue with Fn Flow. The logs are a bit hard to parse and could easily be made a bit more readable.

time="2018-10-12T15:53:18Z" level=debug msg="An error occurred in function: com.fnproject.fn.api.flow.FunctionInvokeFailedException: Failed to call function\n" action="server.handleFnInvokeCall)-fm" app_id=01CJGZBEMKNG8G00GZJ0000003 call_id=01CSMFPSFSNG8G00GZJ000000V fnID=01CS1HZT5GNG8G00GZJ000000F fn_id=01CS1HZT5GNG8G00GZJ000000F id=01CSMFPSFSNG8G00GZJ000000V image="trip:0.0.227" user_log=true

-> fnID and fn_id are duplicates; call_id and id too.

'time="2018-10-12T15:53:18Z" level=debug msg="com.fnproject.fn.api.flow.FunctionInvokeFailedException: Failed to call function\n" action="server.handleFnInvokeCall)-fm" app_id=01CJGZBEMKNG8G00GZJ0000003 call_id=01CSMFPSFSNG8G00GZJ000000V fnID=01CS1HZT5GNG8G00GZJ000000F fn_id=01CS1HZT5GNG8G00GZJ000000F id=01CSMFPSFSNG8G00GZJ000000V image="trip:0.0.227" user_log=true'

-> in server.handleFnInvokeCall)-fm, ')-fm' looks strange to me.

And at the end, I still don't know why the function couldn't be called ;-)

@zootalures
Copy link
Member

Those logs are from Functions not the FDK - the FDK just emits

An error occurred in function: com.fnproject.fn.api.flow.FunctionInvokeFailedException: Failed to call function

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants