-
Notifications
You must be signed in to change notification settings - Fork 140
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
SNOW-1168205 iceberg table compliance testing
- Loading branch information
1 parent
dfba44e
commit 33a8666
Showing
5 changed files
with
659 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,80 +1,80 @@ | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- | ||
Copyright (c) 2012-2017 Snowflake Computing Inc. All rights reserved. | ||
--> | ||
<configuration> | ||
<configSections> | ||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> | ||
</configSections> | ||
|
||
<log4net> | ||
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"> | ||
<file type="log4net.Util.PatternString" value="test_%property{framework}.log" /> | ||
<appendToFile value="true"/> | ||
<rollingStyle value="Size" /> | ||
<maximumFileSize value="10MB" /> | ||
<staticLogFileName value="true" /> | ||
<maxSizeRollBackups value="10" /> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<!-- <header value="[DateTime] [Thread] [Level] [ClassName] Message " /> --> | ||
<conversionPattern value="[%date] [%t] [%-5level] [%logger] %message%newline" /> | ||
</layout> | ||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date [%thread] [%-5level] [%ClassName:%line] - %message%newline" /> | ||
</layout> | ||
</appender> | ||
</appender> | ||
|
||
<root> | ||
<level value="ALL" /> | ||
<appender-ref ref="RollingFileAppender" /> | ||
</root> | ||
<root> | ||
<level value="WARN" /> | ||
<appender-ref ref="ConsoleAppender" /> | ||
</root> | ||
</log4net> | ||
|
||
<!-- used in SFDbFactoryIT.cs to test registering DbProviderFactoryClass --> | ||
<system.data> | ||
<DbProviderFactories> | ||
<add name="Snowflake" invariant="Snowflake.Data" | ||
type="Snowflake.Data.Client.SnowflakeDbFactory, Snowflake.Data, Culture=neutral, PublicKeyToken=null" | ||
description="Snowflake Provider" /> | ||
</DbProviderFactories> | ||
</system.data> | ||
|
||
<!-- | ||
=========== Enable Network debug log =============== | ||
<system.diagnostics> | ||
<sources> | ||
<source name="System.Net" tracemode="includehex" maxdatasize="1024"> | ||
<listeners> | ||
<add name="System.Net"/> | ||
</listeners> | ||
</source> | ||
<source name="System.Net.Sockets"> | ||
<listeners> | ||
<add name="System.Net"/> | ||
</listeners> | ||
</source> | ||
<source name="System.Net.Cache"> | ||
<listeners> | ||
<add name="System.Net"/> | ||
</listeners> | ||
</source> | ||
</sources> | ||
<switches> | ||
<add name="System.Net" value="Verbose"/> | ||
<add name="System.Net.Sockets" value="Verbose"/> | ||
<add name="System.Net.Cache" value="Verbose"/> | ||
</switches> | ||
<sharedListeners> | ||
<add name="System.Net" | ||
type="System.Diagnostics.TextWriterTraceListener" | ||
initializeData="C:\Temp\network.log" /> | ||
</sharedListeners> | ||
<trace autoflush="true"/> | ||
</system.diagnostics> --> | ||
</configuration> | ||
<?xml version="1.0" encoding="utf-8" ?> | ||
<!-- | ||
Copyright (c) 2012-2017 Snowflake Computing Inc. All rights reserved. | ||
--> | ||
<configuration> | ||
<configSections> | ||
<section name="log4net" type="log4net.Config.Log4NetConfigurationSectionHandler, log4net" /> | ||
</configSections> | ||
|
||
<log4net> | ||
<appender name="RollingFileAppender" type="log4net.Appender.RollingFileAppender"> | ||
<file type="log4net.Util.PatternString" value="test_%property{framework}.log" /> | ||
<appendToFile value="true"/> | ||
<rollingStyle value="Size" /> | ||
<maximumFileSize value="10MB" /> | ||
<staticLogFileName value="true" /> | ||
<maxSizeRollBackups value="10" /> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<!-- <header value="[DateTime] [Thread] [Level] [ClassName] Message " /> --> | ||
<conversionPattern value="[%date] [%t] [%-5level] [%logger] %message%newline" /> | ||
</layout> | ||
<appender name="ConsoleAppender" type="log4net.Appender.ConsoleAppender"> | ||
<layout type="log4net.Layout.PatternLayout"> | ||
<conversionPattern value="%date [%thread] [%-5level] [%ClassName:%line] - %message%newline" /> | ||
</layout> | ||
</appender> | ||
</appender> | ||
|
||
<root> | ||
<level value="ALL" /> | ||
<appender-ref ref="RollingFileAppender" /> | ||
</root> | ||
<root> | ||
<level value="WARN" /> | ||
<appender-ref ref="ConsoleAppender" /> | ||
</root> | ||
</log4net> | ||
|
||
<!-- used in SFDbFactoryIT.cs to test registering DbProviderFactoryClass --> | ||
<system.data> | ||
<DbProviderFactories> | ||
<add name="Snowflake" invariant="Snowflake.Data" | ||
type="Snowflake.Data.Client.SnowflakeDbFactory, Snowflake.Data, Culture=neutral, PublicKeyToken=null" | ||
description="Snowflake Provider" /> | ||
</DbProviderFactories> | ||
</system.data> | ||
|
||
<!-- | ||
=========== Enable Network debug log =============== | ||
<system.diagnostics> | ||
<sources> | ||
<source name="System.Net" tracemode="includehex" maxdatasize="1024"> | ||
<listeners> | ||
<add name="System.Net"/> | ||
</listeners> | ||
</source> | ||
<source name="System.Net.Sockets"> | ||
<listeners> | ||
<add name="System.Net"/> | ||
</listeners> | ||
</source> | ||
<source name="System.Net.Cache"> | ||
<listeners> | ||
<add name="System.Net"/> | ||
</listeners> | ||
</source> | ||
</sources> | ||
<switches> | ||
<add name="System.Net" value="Verbose"/> | ||
<add name="System.Net.Sockets" value="Verbose"/> | ||
<add name="System.Net.Cache" value="Verbose"/> | ||
</switches> | ||
<sharedListeners> | ||
<add name="System.Net" | ||
type="System.Diagnostics.TextWriterTraceListener" | ||
initializeData="C:\Temp\network.log" /> | ||
</sharedListeners> | ||
<trace autoflush="true"/> | ||
</system.diagnostics> --> | ||
</configuration> |
Oops, something went wrong.