The OneStream Community is temporarily frozen until June 29th due to the ongoing maintenance. Please read the blog post here to learn more.

Forum Discussion

ssmith-nova's avatar
ssmith-nova
Contributor
2 years ago
Solved

Smart Integration Function logging

Is there a way to log messages to the Error log within a Smart Integration Function that is running on the Local Gateway?  I notice when a new SIF is created, none of the OneStream libraries are avai...
  • JackLacava's avatar
    2 years ago

    The current documentation is:

    • https://documentation.onestream.com/release_8.1/Content/SIC/Overview.html - I would particularly check https://documentation.onestream.com/release_8.1/Content/SIC/Business%20Rules.html
    • https://onestream.thoughtindustries.com/learn/course/onestream-architecture-smart-integration-connector-sic/introduction-to-the-onestream-smart-integration-connector/welcome-to-the-onestream-smart-integration-connector?client=employee
    • https://vimeo.com/792838439/409d5a35de

    The library you mention is not covered in detail, although it is referenced in the guide. I guess intellisense might help you there. I can't see anything pre-built on pulling log messages to OneStream, although you could do it manually with this sort of logic:

    1. write a SIC function that looks at the local logs for events of a certain type and returns them
    2. write an Extender to invoke that function and write results to the OneStream log
    3. trigger the Extender every few minutes with a Data Management job.

    If it looks like a lot of manual work for something that should be built-in - it might well be 😅 feel free to post a request for the feature in IdeaStream.