question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Meteor - Stop verbose mode on user 'profile SimpleSchema' in server console on startup

See original GitHub issue

Hi,

When I start (or restart) my Meteor server, a verbose mode is on in the server console, logging twice the user’s profile schema (Schema.UserProfile), attached to the Schema.User by

profile: {
        type: Schema.UserProfile,
        optional: true
    },

Is there a way to stop this verbose mode? Thanks.

profile SimpleSchema {
I20170126-15:02:54.651(1)?   pick: [Function: pickOrOmit],
I20170126-15:02:54.651(1)?   omit: [Function: pickOrOmit],
I20170126-15:02:54.651(1)?   _constructorOptions: { humanizeAutoLabels: true },
I20170126-15:02:54.652(1)?   _validators: [],
I20170126-15:02:54.652(1)?   _docValidators: [],
I20170126-15:02:54.652(1)?   _validationContexts: {},
I20170126-15:02:54.652(1)?   _schema: 
I20170126-15:02:54.653(1)?    { phone: { type: [Object], optional: false, label: 'Phone' },
I20170126-15:02:54.653(1)?      avatar: { type: [Object], optional: false, label: 'Avatar' },
I20170126-15:02:54.653(1)?      recipients: { type: [Object], optional: false, label: 'Friend' },
I20170126-15:02:54.653(1)?      docs: { type: [Object], optional: false, label: 'Docs' },
I20170126-15:02:54.654(1)?      wills: { type: [Object], optional: false, label: 'Issue' },
I20170126-15:02:54.654(1)?      Actu: 
I20170126-15:02:54.654(1)?       { type: [Object],
I20170126-15:02:54.654(1)?         autoValue: [Function: autoValue],
I20170126-15:02:54.655(1)?         optional: false,
I20170126-15:02:54.655(1)?         label: 'Actu' } },
I20170126-15:02:54.655(1)?   _schemaKeys: [ 'phone', 'avatar', 'friend', 'docs', 'issue', 'Actu' ],
I20170126-15:02:54.655(1)?   _autoValues: { Actu: [Function: autoValue] },
I20170126-15:02:54.656(1)?   _blackboxKeys: [],
I20170126-15:02:54.656(1)?   _firstLevelSchemaKeys: [ 'phone', 'avatar', 'friend', 'docs', 'issue', 'Actu' ],
I20170126-15:02:54.656(1)?   _depsLabels: {},
I20170126-15:02:54.656(1)?   _objectKeys: {},
I20170126-15:02:54.656(1)?   messageBox: MessageBox { language: 'en', messageList: { en: [Object] } },
I20170126-15:02:54.657(1)?   _cleanOptions: 
I20170126-15:02:54.657(1)?    { filter: true,
I20170126-15:02:54.657(1)?      autoConvert: true,
I20170126-15:02:54.658(1)?      removeEmptyStrings: true,
I20170126-15:02:54.658(1)?      trimStrings: true,
I20170126-15:02:54.658(1)?      getAutoValues: true,
I20170126-15:02:54.658(1)?      removeNullsFromArrays: false,
I20170126-15:02:54.658(1)?      extendAutoValueContext: {} },
I20170126-15:02:54.659(1)?   version: 2 }
I20170126-15:02:54.662(1)? profile SimpleSchema {
I20170126-15:02:54.662(1)?   pick: [Function: pickOrOmit],
I20170126-15:02:54.662(1)?   omit: [Function: pickOrOmit],
I20170126-15:02:54.662(1)?   _constructorOptions: { humanizeAutoLabels: true },
I20170126-15:02:54.663(1)?   _validators: [],
I20170126-15:02:54.663(1)?   _docValidators: [],
I20170126-15:02:54.663(1)?   _validationContexts: {},
I20170126-15:02:54.663(1)?   _schema: 
I20170126-15:02:54.663(1)?    { phone: { type: [Object], optional: false, label: 'Phone' },
I20170126-15:02:54.663(1)?      avatar: { type: [Object], optional: false, label: 'Avatar' },
I20170126-15:02:54.664(1)?      recipients: { type: [Object], optional: false, label: 'Friend' },
I20170126-15:02:54.664(1)?      docs: { type: [Object], optional: false, label: 'Docs' },
I20170126-15:02:54.664(1)?      wills: { type: [Object], optional: false, label: 'issue' },
I20170126-15:02:54.664(1)?      Actu: 
I20170126-15:02:54.664(1)?       { type: [Object],
I20170126-15:02:54.664(1)?         autoValue: [Function: autoValue],
I20170126-15:02:54.665(1)?         optional: false,
I20170126-15:02:54.665(1)?         label: 'Actu' } },
I20170126-15:02:54.665(1)?   _schemaKeys: [ 'phone', 'avatar', 'friend', 'docs', 'issue', 'Actu' ],
I20170126-15:02:54.665(1)?   _autoValues: { Actu: [Function: autoValue] },
I20170126-15:02:54.665(1)?   _blackboxKeys: [],
I20170126-15:02:54.665(1)?   _firstLevelSchemaKeys: [ 'phone', 'avatar', 'friend', 'docs', 'issue', 'Actu' ],
I20170126-15:02:54.666(1)?   _depsLabels: {},
I20170126-15:02:54.666(1)?   _objectKeys: {},
I20170126-15:02:54.666(1)?   messageBox: MessageBox { language: 'en', messageList: { en: [Object] } },
I20170126-15:02:54.666(1)?   _cleanOptions: 
I20170126-15:02:54.667(1)?    { filter: true,
I20170126-15:02:54.667(1)?      autoConvert: true,
I20170126-15:02:54.667(1)?      removeEmptyStrings: true,
I20170126-15:02:54.667(1)?      trimStrings: true,
I20170126-15:02:54.667(1)?      getAutoValues: true,
I20170126-15:02:54.668(1)?      removeNullsFromArrays: false,
I20170126-15:02:54.668(1)?      extendAutoValueContext: {} },
I20170126-15:02:54.668(1)?   version: 2 }

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
aldeedcommented, Feb 7, 2017

I merged the PR to fix Array.includes issue. I’m going to close this and if there seems to be some other issue you can open a new one

0reactions
Ontokratcommented, Jan 26, 2017

@jshimko I don’t know if it is unrelated : beside email and passwd, I had to pass by a method to write in the user’s profile just after Accounts.onCreateUser( ( options, user ): the var was effectively in the options.profile but unable to be merged in user.profile without create the Exception while invoking method 'createUser' RangeError: Maximum call stack size exceeded error. Didn’t have this issue with "version": "0.0.3"

Read more comments on GitHub >

github_iconTop Results From Across the Web

Command Line | Meteor API Docs
Run meteor help run to see the full list of options. meteor debug. Run the project, but suspend the server process for debugging....
Read more >
Command Line | Meteor API Docs
Run meteor help run to see the full list of options. meteor debug. Run the project, but suspend the server process for debugging....
Read more >
TypeError: Array.includes is not a function @0.0.4 #33 - GitHub
I got this error message in both client (Chrome v.57) & server code. ... Meteor - Stop verbose mode on user 'profile SimpleSchema'...
Read more >
TypeError: SimpleSchema is not a constructor in Meteor 1.6 ...
I've gone through the SimpleSchema documentation and this constructor is there, my code is same as their example. Not sure why this error...
Read more >
meteor - RIP Tutorial
Chapter 9: Blaze User Interface Recipes (Bootstrap; No jQuery) ... console.log(myJSON.title); // prints 'Meteor Assets' in the server's console.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found