Skip to content

modify ini and so logging#243

Merged
YoshiakiNishimura merged 1 commit intomasterfrom
so_separete_log
Feb 25, 2026
Merged

modify ini and so logging#243
YoshiakiNishimura merged 1 commit intomasterfrom
so_separete_log

Conversation

@YoshiakiNishimura
Copy link
Contributor

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request centralizes UDF (User-Defined Function) logging prefixes by introducing a new header file and refactoring existing code to use consistent prefix definitions. The changes also modify the behavior when .ini files are found without corresponding .so files.

Changes:

  • Introduces a centralized header file (src/jogasaki/udf/log/logging_prefix.h) that defines UDF logging prefixes
  • Refactors UDF-related logging across multiple files to use the centralized prefix constants
  • Changes behavior to silently skip .ini files without corresponding .so files (previously reported as an error)

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/jogasaki/udf/log/logging_prefix.h New header defining centralized UDF logging prefixes: "[udf] ", "[udf][grpc] ", "[udf in] ", "[udf out] "
src/jogasaki/udf/udf_loader.cpp Adds includes for logging and centralized prefixes; removes error reporting for missing .so files and adds trace logging when .so files are found
src/jogasaki/udf/data/udf_any_sequence_stream.cpp Replaces local udf_out_prefix constant with centralized jogasaki::udf::log::udf_out_prefix
src/jogasaki/executor/function/udf_functions.cpp Replaces local udf_in_prefix and udf_out_prefix constants with centralized versions; replaces "[gRPC]" string literals with grpc_prefix
src/jogasaki/api/impl/database.cpp Replaces "[gRPC]" string literals in UDF load result logging with centralized jogasaki::udf::log::prefix
src/CMakeLists.txt Adds "jogasaki/udf/log/*.cpp" to the build configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Copy link
Contributor

@kuron99 kuron99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@YoshiakiNishimura YoshiakiNishimura merged commit 06013a2 into master Feb 25, 2026
8 checks passed
@YoshiakiNishimura YoshiakiNishimura deleted the so_separete_log branch February 25, 2026 01:06
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

Successfully merging this pull request may close these issues.

3 participants