yaml中xml中的空标记对应的是什么

时间:2016-01-17 15:22:13

标签: xml yaml log4j2

据我所知,这些是等价物,但它不适用于log4j 在xml中

SELECT 
  (SELECT Code_desc FROM Lookup WHERE "Code" = e.HDRConfig) AS HDRConfig,
  (SELECT Code_desc FROM Lookup WHERE "Code" = e.ABRConfig) AS ABRConfig,
  (SELECT Code_desc FROM Lookup WHERE "Code" = e.SbrConfig) AS SbrConfig
FROM Equipment e;

在yml中

    <Socket name="A1" host="localHost" port="7000">
        <SerializedLayout />
    </Socket>

1 个答案:

答案 0 :(得分:1)

尝试:

Socket: 
  name: liveSocket 
  host: localHost 
  port: 7000
  SerializedLayout: []