Skip to content

怎么启用scim的全部打印? #41

@hantengc

Description

@hantengc

ubuntu 2004系统
操作步骤:

  1. 终端执行 scim ,查看日志打印信息
  2. 发现在scim_module_init里面的stderr信息都有输出到终端上
  3. 发现scim的engine里面日志信息没有被输出在终端上
  4. 当前存在的进程:scim-launcher、scim-helper-manager、scim-panel-gtk和scim-im-agent这几个进程
  5. 查看进程的fd文件发现也没有任何的日志输出:sudo tail -f /proc/pid/fd/2 或者sudo tail -f /proc/pid/fd/1或者sudo tail -f /proc/pid/fd/0 都是没有任何输出的。代码里面使用的打印方式是: SCIM_DEBUG_IMENGINE(2) << "engine debug info \n"

请问我应该怎么设置debug输出等级,将打印信息输出呢?
@tzhuan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions