File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change 1313 * See the License for the specific language governing permissions and
1414 * limitations under the License.
1515 */
16- var should = require ( 'should' ) ;
17- var bunyan = require ( 'bunyan' ) ;
18-
1916var testconfig = require ( '../etc/test-config-qa.js' ) ;
20- var fs = require ( 'fs' ) ;
21-
2217var marklogic = require ( '../' ) ;
23-
24- var db = marklogic . createDatabaseClient ( testconfig . restReaderConnection ) ;
25- var dbWriter = marklogic . createDatabaseClient ( testconfig . restWriterConnection ) ;
26- var dbEval = marklogic . createDatabaseClient ( testconfig . restEvaluatorConnection ) ;
2718var dbAdmin = marklogic . createDatabaseClient ( testconfig . restAdminConnection ) ;
2819
2920describe ( 'Bunyan logger test' , function ( ) {
3021
31- var logger = bunyan . createLogger ( { name : 'testlog' , level : 'debug' } ) ;
32- dbAdmin . setLogger ( logger , true ) ;
33-
3422 it ( 'should read the bunyan logger' , function ( done ) {
3523 dbAdmin . config . serverprops . read ( ) . result ( function ( response ) {
36- //var log = JSON.stringify(response);
37- //console.log(log);
38- //log.should.containEql('testlog');
3924 done ( ) ;
4025 } , done ) ;
4126 } ) ;
You can’t perform that action at this time.
0 commit comments